dxd - dynax driver framework  2747
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dxd::event< dx::kernel > Class Template Reference

#include <dxd_sync_platform.h>

+ Inheritance diagram for dxd::event< dx::kernel >:
+ Collaboration diagram for dxd::event< dx::kernel >:

Public Member Functions

 event ()=default
 
 event (bool signalled)
 
 event ()
 
 event (bool signalled)
 
 operator const ::IOLock * () const
 
 operator::IOLock * ()
 
 operator::KEVENT * ()
 
void reset ()
 
os_result reset ()
 
void signal ()
 
os_result signal ()
 
os_result wait ()
 
os_result wait (int64_t time)
 
os_result wait (int64_t time=0)
 
os_result wait_any (os_event wdm_event, int64_t time=0)
 wait until either events are signalled or timeout. More...
 
virtual ~event ()=default
 virtual destructur More...
 

Static Public Member Functions

static os_result signal (os_event wdm_event)
 
static os_result wait (os_event wdm_event, int64_t time=0)
 

Public Attributes

os_result status =not_initialized
 

Constructor & Destructor Documentation

dxd::event< dx::kernel >::event ( )
default
dxd::event< dx::kernel >::event ( bool  signalled)
inline
dxd::event< dx::kernel >::event ( )
inline
dxd::event< dx::kernel >::event ( bool  signalled)
inline
virtual dxd::event< dx::kernel >::~event ( )
default

virtual destructur

event base class needs virtual destructor; although its a dummy; to ensure inheritend and composite objects to be correctly destructed.

Member Function Documentation

dxd::mutex::operator const ::IOLock * ( ) const
inlineinherited
dxd::mutex::operator::IOLock * ( )
inlineinherited
dxd::event< dx::kernel >::operator::KEVENT * ( )
inline
void dxd::event< dx::kernel >::reset ( )
inline
os_result dxd::event< dx::kernel >::reset ( )
inline
void dxd::event< dx::kernel >::signal ( )
inline
os_result dxd::event< dx::kernel >::signal ( )
inline
static os_result dxd::event< dx::kernel >::signal ( os_event< dx::kernel wdm_event)
inlinestatic
os_result dxd::event< dx::kernel >::wait ( )
inline
os_result dxd::event< dx::kernel >::wait ( int64_t  time)
inline
os_result dxd::event< dx::kernel >::wait ( int64_t  time = 0)
inline

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static os_result dxd::event< dx::kernel >::wait ( os_event< dx::kernel wdm_event,
int64_t  time = 0 
)
inlinestatic
os_result dxd::event< dx::kernel >::wait_any ( os_event< dx::kernel wdm_event,
int64_t  time = 0 
)
inline

wait until either events are signalled or timeout.

Todo:
check if event index really needs to be returned in os_result.

Member Data Documentation

os_result dxd::mutex::status =not_initialized
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sun Jun 23 2019

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.