Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Public Member Functions | |
SysThreadTaskManager * | get_task_manager () const |
const bool & | is_auto_deleted () const |
const bool & | is_preemptible () const |
void | set_auto_delete (const bool &auto_delete) |
![]() | |
bool | is_kindof (const CoreBaseObject &object) const |
virtual size_t | get_memory_size () const |
CoreString | get_class_info_name () const |
const unsigned long & | get_class_info_id () const |
virtual bool | is_kindof (const CoreClassInfo &cinfo) const |
virtual const CoreClassInfo & | get_class_info () const |
template<class T > | |
T * | cast () |
template<class T > | |
const T * | cast () const |
![]() | |
bool | is_kindof (const CoreClassInfo &cinfo) const |
Protected Member Functions | |
virtual void | execution_entry (const unsigned int &thread_id)=0 |
Friends | |
class | SysThreadTaskManager |
Additional Inherited Members | |
![]() | |
static const CoreClassInfo & | class_info () |
template<class T > | |
static T * | cast (CoreBaseObject *object) |
template<class T > | |
static const T * | cast (const CoreBaseObject *object) |
Abstract base class for implementing a worker task to be run in a separate thread.
|
protectedpure virtual |
Execution entry point of the task. This were the task work must be implemented.
thread_id | task thread ID. |
Implemented in SysThreadTaskGeneric, and Sample2DLutTask.
|
inline |
Get the task manager that owns this task.
|
inline |
Query if this task is deleted automatically by the task manager.
|
inline |
Query if this task is preemptible (can be interrupted).
|
inline |
Set the auto delete status.
auto_delete | true if the task can be automatically deleted by the task manager, false otherwise. |