The RiCOSTask class
provides the basic tasking features.
Creation
summary- create
- Creates an RiCOSTask object
- destroy
- Destroys an RiCOSTask object
- cleanup
- Cleans up after an RiCOSTask object
- init
- Initializes an RiCOSTask object
Method
summary- endMyTask
- Terminates the current task
- endOtherTask
- Terminates a task other
than the current one
- exeOnMyTask
- Determines whether the method was invoked from
the same operating system task as the one on which the object is running
- getCurrentTaskHandle
- Gets the handle to the active task
- getOSHandle
- Returns a handle to the underlying operating system
task
- getTaskEndClbk
- Is a callback function that ends the current operating
system thread
- resume
- Resumes a suspended task
- setEndOSTaskInCleanup
- Determines whether destruction
of the RiCOSTask class
should kill the operating system task associated with the class
- setPriority
- Sets the priority for the task
- start
- Starts executing the
task
- suspend
- Suspends a task