sipxportlib
Version 3.3
|
#include <OsTaskWnt.h>
Public Member Functions | |
OsTaskWnt (const UtlString &name="", void *pArg=NULL, const int priority=DEF_PRIO, const int options=DEF_OPTIONS, const int stackSize=DEF_STACKSIZE) | |
virtual | ~OsTaskWnt () |
virtual OsStatus | deleteForce (void) |
enumcode: UNINITIALIZED - no low-level task, no name DB entries enumcode: STARTED - low-level task and name DB entries exist enumcode: SHUTTING_DOWN - requested low-level task shutdown enumcode: SHUT_DOWN - no low-level task, name DB entries still exist More... | |
virtual UtlBoolean | restart (void) |
virtual OsStatus | resume (void) |
virtual UtlBoolean | start (void) |
virtual OsStatus | suspend (void) |
virtual OsStatus | setErrno (int errno) |
virtual OsStatus | setOptions (int options) |
virtual OsStatus | setPriority (int priority) |
virtual OsStatus | varAdd (int *pVar) |
virtual OsStatus | varDelete (int *pVar) |
virtual OsStatus | varSet (int *pVar, int value) |
virtual OsStatus | getErrno (int &rErrno) |
virtual int | getOptions (void) |
virtual OsStatus | getPriority (int &rPriority) |
virtual OsStatus | varGet (void) |
virtual OsStatus | id (OsTaskId_t &rId) |
virtual UtlBoolean | isSuspended (void) |
Public Member Functions inherited from OsTaskBase | |
virtual void | requestShutdown (void) |
virtual void | setUserData (int data) |
virtual OsStatus | syslog (const OsSysLogFacility facility, const OsSysLogPriority priority, const char *format,...) |
virtual void * | getArg (void) |
virtual const UtlString & | getName (void) |
virtual int | getUserData (void) |
virtual UtlBoolean | isReady (void) |
virtual UtlBoolean | isShutDown (void) |
virtual UtlBoolean | isShuttingDown (void) |
virtual UtlBoolean | isStarted (void) |
virtual UtlBoolean | isUnInitialized (void) |
Static Public Member Functions | |
static OsStatus | delay (const int milliSecs) |
static OsStatus | safe (void) |
static OsStatus | unsafe (void) |
static void | yield (void) |
static OsTaskWnt * | getCurrentTask (void) |
static OsStatus | getCurrentTaskId (int &rid) |
static OsTaskWnt * | getTaskByName (const UtlString &taskName) |
static OsTaskWnt * | getTaskById (const int taskId) |
static void | getIdString (UtlString &, DWORD) |
Static Public Member Functions inherited from OsTaskBase | |
static OsStatus | delay (const int milliSecs) |
param: facility - Defines the facility responsible for adding the More... | |
static OsStatus | safe (void) |
static OsStatus | unsafe (void) |
static void | yield (void) |
static OsTaskBase * | getCurrentTask (void) |
static OsStatus | getCurrentTaskId (int &rid) |
static OsTaskBase * | getTaskByName (const UtlString &taskName) |
static OsTaskBase * | getTaskById (const int taskId) |
Protected Member Functions | |
virtual int | run (void *pArg)=0 |
Protected Member Functions inherited from OsTaskBase | |
OsTaskBase (const UtlString &name, void *pArg, const int priority, const int options, const int stackSize) | |
virtual | ~OsTaskBase () |
virtual UtlBoolean | waitUntilShutDown (int milliSecToWait=20000) |
virtual void | ackShutdown (void) |
Additional Inherited Members | |
Public Types inherited from OsTaskBase | |
enum | TaskState { UNINITIALIZED, STARTED, SHUTTING_DOWN, SHUT_DOWN } |
Static Public Attributes inherited from OsTaskBase | |
static const int | DEF_OPTIONS = 0 |
static const int | DEF_PRIO = 128 |
static const int | DEF_STACKSIZE = 256*1024 |
static const UtlString | TASK_PREFIX |
static const UtlString | TASKID_PREFIX |
static OsAtomicInt | taskCount |
Protected Attributes inherited from OsTaskBase | |
OsMutex | mDataGuard |
UtlString | mName |
volatile TaskState | mState |
OsTaskWnt | ( | const UtlString & | name = "" , |
void * | pArg = NULL , |
||
const int | priority = DEF_PRIO , |
||
const int | options = DEF_OPTIONS , |
||
const int | stackSize = DEF_STACKSIZE |
||
) |
|
virtual |
|
virtual |
enumcode: UNINITIALIZED - no low-level task, no name DB entries enumcode: STARTED - low-level task and name DB entries exist enumcode: SHUTTING_DOWN - requested low-level task shutdown enumcode: SHUT_DOWN - no low-level task, name DB entries still exist
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
static |
|
virtual |
Implements OsTaskBase.
|
virtual |
Implements OsTaskBase.
|
protectedpure virtual |
Implements OsTaskBase.