|
| Task (const char *name, FUNCPTR function, int32_t priority=kDefaultPriority, uint32_t stackSize=20000) |
|
bool | Start (uint32_t arg0=0, uint32_t arg1=0, uint32_t arg2=0, uint32_t arg3=0, uint32_t arg4=0, uint32_t arg5=0, uint32_t arg6=0, uint32_t arg7=0, uint32_t arg8=0, uint32_t arg9=0) |
|
bool | Restart () |
|
bool | Stop () |
|
bool | IsReady () |
|
bool | IsSuspended () |
|
bool | Suspend () |
|
bool | Resume () |
|
bool | Verify () |
|
int32_t | GetPriority () |
|
bool | SetPriority (int32_t priority) |
|
const char * | GetName () |
|
int32_t | GetID () |
|
virtual Error & | GetError () |
| Retrieve the current error. Get the current error information associated with this sensor.
|
|
virtual const Error & | GetError () const |
|
virtual void | SetErrnoError (const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const |
| Set error information associated with a C library call that set an error to the "errno" global variable. More...
|
|
virtual void | SetImaqError (int success, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const |
| Set the current error information associated from the nivision Imaq API. More...
|
|
virtual void | SetError (Error::Code code, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | SetWPIError (const char *errorMessage, const char *contextMessage, const char *filename, const char *function, uint32_t lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | CloneError (ErrorBase *rhs) const |
|
virtual void | ClearError () const |
| Clear the current error information associated with this sensor.
|
|
virtual bool | StatusIsFatal () const |
| Check if the current error code represents a fatal error. More...
|
|
WPI task is a wrapper for the native Task object. All WPILib tasks are managed by a static task manager for simplified cleanup.
Definition at line 17 of file Task.h.