|
| void | processTaskMsg (bool *stop) |
| |
| void | sendInstallTimerMsg (std::string name, int sigNo, unsigned long intervalSec, unsigned long intervalNsec, SIGNALTASK_HANDLER_FN(*handler)) |
| |
| void | sendInstallTimerMsg (std::string name, int sigNo, unsigned long initSec, unsigned long initNsec, unsigned long intervalSec, unsigned long intervalNsec, SIGNALTASK_HANDLER_FN(*handler)) |
| |
| void | installTimer (Msg *msg) |
| |
| virtual void | installTimers () |
| |
| void | sendInstallSignalMsg (int sigNo, SIGNALTASK_HANDLER_FN(*handler)) |
| |
| void | installSignal (Msg *msg) |
| |
| virtual void | installSignals () |
| |
| void | sendEnableTimerMsg (std::string name, bool enable) |
| |
| void | enableTimer (Msg *msg) |
| |
| void | sendAddHandlerMsg (std::string name, SIGNALTASK_HANDLER_FN(*handler), bool add) |
| |
| void | addHandler (Msg *msg) |
| |
| | GenericTask () |
| |
| | GenericTask (Thread *thread) |
| |
| virtual | ~GenericTask () |
| |
| void | sendTaskMsg (Msg *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 | run (void) |
| |
| virtual void | processMsg (Msg *msg) |
| |
| virtual void | respondToHeartBeat () |
| |
| void | stepCommands () |
| |
Respond to a message to add/remove a handler
Send a message to the signal thread to add a handler.
Reimplemented from gcp::util::GenericTask< Msg >.
Respond to a message to enable/disable a timer.
Send a message to the master thread to install a timer.
Reimplemented from gcp::util::GenericTask< Msg >.
Install timers of interest to us.
Install signals of interest to us.
Install timers of interest to us.
A message to add/remove a signal handler
Send a message to the master thread to install a timer.
A message to enable/disable a timer.
Send a message to the master thread to install a timer.
A method to install a signal
Send a message to the master thread to install a signal.
template<class Msg >
| void gcp::util::GenericMasterTask< Msg >::sendInstallTimerMsg |
( |
std::string |
name, |
|
|
int |
sigNo, |
|
|
unsigned long |
intervalSec, |
|
|
unsigned long |
intervalNsec, |
|
|
SIGNALTASK_HANDLER_FN * |
handler |
|
) |
| |
|
protected |
Send a message to the master thread to install a timer. The initial delay is set to the interval in this version.
template<class Msg >
| void gcp::util::GenericMasterTask< Msg >::sendInstallTimerMsg |
( |
std::string |
name, |
|
|
int |
sigNo, |
|
|
unsigned long |
initSec, |
|
|
unsigned long |
initNsec, |
|
|
unsigned long |
intervalSec, |
|
|
unsigned long |
intervalNsec, |
|
|
SIGNALTASK_HANDLER_FN * |
handler |
|
) |
| |
|
protected |
Send the signal task a message to install a timer.
....................................................................... Send a message to install a timer.
Handles all signals for this process
The documentation for this class was generated from the following file: