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

kernel representation of shared user space event More...

#include <dxd_sync_platform.h>

+ Inheritance diagram for dxd::event< dx::user >:

Public Member Functions

 event ()=default
 
 event (::mach_port_t port, const dx::os_event &os_event)
 
 event ()=default
 
 event (client &client, const dx::os_event &os_event)
 
os_result initialize (::mach_port_t port, const dx::os_event &os_event)
 
os_result initialize (client &, const dx::os_event &os_event)
 
os_result reset ()
 
os_result signal ()
 
os_result signal ()
 
virtual ~event ()
 event<user> destructor More...
 
virtual ~event ()
 virtual destructur More...
 

Public Attributes

os_result status =not_initialized
 

Detailed Description

template<>
class dxd::event< dx::user >

kernel representation of shared user space event

Constructor & Destructor Documentation

dxd::event< dx::user >::event ( )
default
dxd::event< dx::user >::event ( ::mach_port_t  port,
const dx::os_event< dx::user > &  os_event 
)
inline
virtual dxd::event< dx::user >::~event ( )
inline

event<user> destructor

releaseAsyncReference64() is not allowed here! releaseAsyncReference64() is to balance OSAsyncReference64 machport references when used with asynchronous IOAsyncMethod subclass methods, or externalMethod() as used in the IOExternalMethodArguments.asyncReference.

dxd::event< dx::user >::event ( )
default
dxd::event< dx::user >::event ( client client,
const dx::os_event< dx::user > &  os_event 
)
inline
virtual dxd::event< dx::user >::~event ( )
inline

virtual destructur

Member Function Documentation

os_result dxd::event< dx::user >::initialize ( ::mach_port_t  port,
const dx::os_event< dx::user > &  os_event 
)
inline

undocumented OSX hack: mark 64bit async ref

os_result dxd::event< dx::user >::initialize ( client ,
const dx::os_event< dx::user > &  os_event 
)
inline
os_result dxd::event< dx::user >::reset ( )
inline
os_result dxd::event< dx::user >::signal ( )
inline
os_result dxd::event< dx::user >::signal ( )
inline

Member Data Documentation


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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Dec 4 2018

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.