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

kernel triggerable user space event More...

#include <dx_sync.h>

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

Public Member Functions

 catch (std::system_error &exception)
 
 catch (std::system_error &exception)
 
 catch (std::system_error &exception)
 
virtual void launch ()
 
 operator os_event () noexcept
 
eventreset () try
 
eventsignal () try
 
eventwait () try
 
virtual ~event ()=default
 

Detailed Description

template<>
class dx::event< kernel >

kernel triggerable user space event

Constructor & Destructor Documentation

virtual dx::event< kernel >::~event ( )
default

Member Function Documentation

dx::event< user >::catch ( std::system_error &  exception)
inlineinherited
dx::event< user >::catch ( std::system_error &  exception)
inlineinherited
dx::event< user >::catch ( std::system_error &  exception)
inlineinherited
virtual void dx::event< kernel >::launch ( )
inlinevirtual

The default implementation is based on event<user> which is signalled when triggered via launch() from kernel. This is to achieve compatibility with Windows events. Its probably more adequate to overwrite launch() and do the work here if feasible.

Reimplemented in dx::coremidi::stream< io_t, bus_t, stream_desc_t, device_t >.

dx::event< kernel >::operator os_event ( )
inlinenoexcept
event& dx::event< user >::reset ( )
inlineinherited

+ Here is the caller graph for this function:

event& dx::event< user >::signal ( )
inlineinherited

+ Here is the caller graph for this function:

event& dx::event< user >::wait ( )
inlineinherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Nov 8 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.