UaJobThread.
More...
Inherits UaThread.
|
static OpcUa_UInt32 | currentThread () |
| Get thread ID of current thread. More...
|
|
static void | sleep (OpcUa_UInt32 secs) |
| Sleep for n seconds. More...
|
|
static void | msleep (OpcUa_UInt32 msecs) |
| Sleep for n milliseconds. More...
|
|
static void | usleep (OpcUa_UInt32 usecs) |
| Sleep for n microseconds. More...
|
|
OpcUa_Boolean UaJobThread::jobActive |
( |
| ) |
|
Check if a job is active.
- Returns
- OpcUa_True if a job is active, OpcUa_False if not.
-
true if active false if not.
Start job execution in job thread.
- Parameters
-
job | Pointer to job base class. Job data is contained in derived class. |
- Returns
- OpcUa_Good if the job was successfully started, OpcUa_BadInternalError if an error occurred in the startJob function
-
the OPC UA Status code.
- Parameters
-
[in] | pJob | Pointer to job base class. Job data is contained in derived class. |
OpcUa_StatusCode UaJobThread::stopThread |
( |
| ) |
|
Stop the thread.
- Returns
- the OPC UA Status code.
The documentation for this class was generated from the following file:
- D:/work/uasdkcpp/src/uabase/uabasecpp/uathreadpool.cpp