dxd - dynax driver framework 2.1.0d58
cross platform open source driver development framework
Loading...
Searching...
No Matches
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 class  priority { low =LOW_PRIORITY , realtime =LOW_REALTIME_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.
 
 process ()
 
os_result run ()
 IOKit process thread start.
 
os_result run ()
 
virtual ~process ()
 IOKit destructor.
 

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.
 
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

◆ priority

Enumerator
low 

Lowest thread priority level.

realtime 

Lowest realtime priority level.

high 

Highest thread priority level.

Constructor & Destructor Documentation

◆ process() [1/2]

dxd::process::process ( )
inline

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

◆ ~process() [1/2]

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

IOKit destructor.

◆ ~process() [2/2]

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

◆ process() [2/2]

dxd::process::process ( )
inline

Member Function Documentation

◆ launch() [1/2]

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.

◆ launch() [2/2]

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

◆ prio() [1/3]

static unsigned int dxd::process::prio ( )
inlinestatic

◆ prio() [2/3]

static unsigned int dxd::process::prio ( )
inlinestatic

◆ prio() [3/3]

os_result dxd::process::prio ( priority priority)
inline

◆ run() [1/2]

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:

◆ run() [2/2]

os_result dxd::process::run ( )
inline

Member Data Documentation

◆ status

os_result dxd::process::status

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sat Apr 27 2024

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.