|
My Project
|
Public Member Functions | |
| TestClass (bool spawn) | |
| void | sendMsg () |
| void | processMsg (TestMsg *msg) |
Public Member Functions inherited from gcp::util::SpawnableTask< TestMsg > | |
| SpawnableTask (bool spawn) | |
| virtual | ~SpawnableTask () |
Public Member Functions inherited from gcp::util::GenericTask< TestMsg > | |
| void | sendRestartMsg () |
| void | sendStopMsg () |
| void | sendHeartBeatMsg () |
| virtual void | fwdTaskMsg (TestMsg *msg) |
Public Member Functions inherited from gcp::util::RunnableTask | |
| RunnableTask (bool spawnThread) | |
| virtual | ~RunnableTask () |
Public Member Functions inherited from gcp::util::Runnable | |
| Runnable (bool spawnThread, RUN_FN(*runFn)) | |
| Runnable (bool spawnThread, RUN_FN(*runFn), int priority) | |
| virtual | ~Runnable () |
| void | blockForever () |
| void | spawn () |
Additional Inherited Members | |
Static Public Member Functions inherited from gcp::util::RunnableTask | |
| static | RUN_FN (runFn) |
Static Public Member Functions inherited from gcp::util::Runnable | |
| static | THREAD_START (startUp) |
Protected Member Functions inherited from gcp::util::SpawnableTask< TestMsg > | |
| void | run () |
Protected Member Functions inherited from gcp::util::GenericTask< TestMsg > | |
| GenericTask () | |
| GenericTask (Thread *thread) | |
| virtual | ~GenericTask () |
| void | sendTaskMsg (TestMsg *msg) |
| void | startThreads (void *arg) |
| void | startThread (void *arg, unsigned order) |
| unsigned | getMinStartOrder () |
| bool | threadsNeedStarting () |
| void | cancelThreads () |
| void | cancelThread (unsigned order) |
| unsigned | getMinCancelOrder () |
| bool | threadsNeedCancelling () |
| void | pingThreads (void *arg) |
| void | raise (std::string name, int sigNo) |
| Thread * | getThread (std::string name) |
| bool | threadsAreRunning () |
| void | shutdownConnection (int fd) |
| virtual void | serviceMsgQ (void) |
| virtual void | restart (void) |
| virtual void | processTaskMsg (bool *stop) |
| virtual void | respondToHeartBeat () |
| virtual void | installTimer (TestMsg *msg) |
| virtual void | installSignal (TestMsg *msg) |
| virtual void | enableTimer (TestMsg *msg) |
| virtual void | addHandler (TestMsg *msg) |
| void | stepCommands () |
Protected Member Functions inherited from gcp::util::Runnable | |
| virtual void | broadcastReady () |
| void | spawn (void *arg) |
Protected Attributes inherited from gcp::util::GenericTask< TestMsg > | |
| Thread * | thread_ |
| std::vector< Thread * > | threads_ |
| PipeQ< TestMsg > | msgq_ |
| gcp::util::FdSet | fdSet_ |
| std::vector< Command * > | commands_ |
| struct timeval * | timeOut_ |
| TimeVal | commandTimeOut_ |
Protected Attributes inherited from gcp::util::Runnable | |
| Thread * | spawnedThread_ |
| bool | spawned_ |
| RUN_FN * | runFn_ |
|
inlinevirtual |
This method should be defined by each inheriting task to process its own task-specific messages.
| Exception | Method to process a message received on the Task message * queue |
Reimplemented from gcp::util::SpawnableTask< TestMsg >.