UaJobThread Class Reference

UaJobThread Class. Derived from UaThread. More...

Inheritance diagram for UaJobThread:
Collaboration diagram for UaJobThread:

List of all members.


Public Member Functions

 UaJobThread ()
 ~UaJobThread ()
OpcUa_StatusCode startJob (UaThreadPoolJob *job)
OpcUa_Boolean jobActive ()
OpcUa_StatusCode stopThread ()

Detailed Description

UaJobThread Class. Derived from UaThread.

UaJobThread


Constructor & Destructor Documentation

UaJobThread::UaJobThread (  ) 

construction

UaJobThread::~UaJobThread (  ) 

destruction


Member Function Documentation

OpcUa_StatusCode UaJobThread::startJob ( UaThreadPoolJob pJob  ) 

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
Start job execution in job thread.
Parameters:
job Pointer to job base class. Job data is contained in derived class.
Returns:
the OPC UA Status code.

OpcUa_Boolean UaJobThread::jobActive (  ) 

Check if a job is active

Returns:
OpcUa_True if a job is active, OpcUa_False if not.
Check if a job is active.
Returns:
true if active false if not.

OpcUa_StatusCode UaJobThread::stopThread (  ) 

Stop the thread

Stop the thread.

Returns:
the OPC UA Status code.


The documentation for this class was generated from the following file:
  • src/uabase/uabasecpp/uathreadpool.cpp