mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
mf::sticky_event Class Reference

Event which is repeatedly received after having been notified once. More...

#include <event.h>

Inheritance diagram for mf::sticky_event:
mf::event

Public Member Functions

 sticky_event ()=default
 
void notify () override
 
void wait () override
 
void reset ()
 
- Public Member Functions inherited from mf::event
 event ()
 
 event (const event &)=delete
 
 event (event &&)
 
virtual ~event ()
 
eventoperator= (const event &)=delete
 
eventoperator= (event &&)
 

Additional Inherited Members

- Static Public Member Functions inherited from mf::event
static eventwait_any_ (event **begin, event **end)
 
template<typename It >
static eventwait_any_list (It begin_it, It end_it)
 
template<typename... Events>
static eventwait_any (Events &&...events)
 
- Public Attributes inherited from mf::event
std::uintptr_t handle_
 OS-specific handle. More...
 

Detailed Description

Event which is repeatedly received after having been notified once.

Altered version of event. After notified(), all subsequent wait() or wait_any() calls receive the event without waiting, until the event is reset using reset().

Constructor & Destructor Documentation

mf::sticky_event::sticky_event ( )
default

Member Function Documentation

void mf::sticky_event::notify ( )
inlineoverridevirtual

Reimplemented from mf::event.

void mf::sticky_event::reset ( )
inline
void mf::sticky_event::wait ( )
inlineoverridevirtual

Reimplemented from mf::event.


The documentation for this class was generated from the following file: