dxd - dynax driver framework  2689
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dxd::process Class Referenceabstract

IOKit process thread. More...

#include <dxd_sync_platform.h>

+ Inheritance diagram for dxd::process:
+ Collaboration diagram for dxd::process:

Public Types

enum  priority { priority::low =LOW_PRIORITY, priority::realtime =LOW_REALTIME_PRIORITY, priority::high =HIGH_PRIORITY }
 

Public Member Functions

os_result prio (priority priority)
 
 process ()
 IOKit default constructor process thread is not yet schedulled to run: signal to prevent wait. More...
 
 process ()
 
os_result run ()
 IOKit process thread start. More...
 
os_result run ()
 
virtual ~process ()
 IOKit destructor. More...
 

Static Public Member Functions

static unsigned int prio ()
 
static unsigned int prio ()
 

Public Attributes

os_result status
 

Protected Member Functions

virtual os_result launch ()=0
 IOKit process thread methode. More...
 
virtual os_result launch ()=0
 
virtual ~process ()
 

Detailed Description

IOKit process thread.

WDK process.

This class creates a process thread. Overwrite virtual launch() and call run() method. The internal mechanism blocks object termination until thread launch() returns.

Member Enumeration Documentation

Enumerator
low 

Lowest thread priority level.

realtime 

Lowest realtime priority level.

high 

Highest thread priority level.

Constructor & Destructor Documentation

dxd::process::process ( )
inline

IOKit default constructor process thread is not yet schedulled to run: signal to prevent wait.

virtual dxd::process::~process ( )
inline

IOKit destructor.

virtual dxd::process::~process ( )
inlineprotected
dxd::process::process ( )
inline

Member Function Documentation

virtual os_result dxd::process::launch ( )
protectedpure virtual

IOKit process thread methode.

Overwrite virtual launch() with your process. run() starts this process. The internal mechanism blocks object termination until thread launch() returns.

virtual os_result dxd::process::launch ( )
protectedpure virtual
static unsigned int dxd::process::prio ( )
inlinestatic
static unsigned int dxd::process::prio ( )
inlinestatic
os_result dxd::process::prio ( priority  priority)
inline
os_result dxd::process::run ( )
inline

IOKit process thread start.

run() starts this process. The internal mechanism blocks object termination until thread start() returns.

+ Here is the caller graph for this function:

os_result dxd::process::run ( )
inline

Member Data Documentation

os_result dxd::process::status

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

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