|
enum | MsgType {
ADD_SIGNAL_HANDLER,
ADD_TIMER_HANDLER,
SIG_ENABLE_TIMER,
SIG_INSTALL_TIMER,
SIG_INSTALL_SIGNAL
} |
|
enum | GenericMsgType {
HEARTBEAT,
STOP,
RESTART,
TASK_SPECIFIC,
LAST
} |
|
|
void | packInstallTimerMsg (std::string name, int sigNo, unsigned long initSec, unsigned long initNsec, unsigned long intervalSec, unsigned long intervalNsec, SIGNALTASK_HANDLER_FN(*handler)) |
|
void | packInstallSignalMsg (int sigNo, SIGNALTASK_HANDLER_FN(*handler), void *arg) |
|
void | packEnableTimerMsg (std::string name, bool enable) |
|
void | packAddHandlerMsg (std::string name, SIGNALTASK_HANDLER_FN(*handler), bool add) |
|
void | packAddHandlerMsg (int sigNo, SIGNALTASK_HANDLER_FN(*handler), bool add) |
|
|
MsgType | type |
|
union { |
struct { |
char name [SIGNAL_NAME_LEN+1] |
|
int sigNo |
|
unsigned long initSec |
|
unsigned long initNsec |
|
unsigned long intervalSec |
|
unsigned long intervalNsec |
|
SIGNALTASK_HANDLER_FN * handler |
|
} installTimer |
|
struct { |
char name [SIGNAL_NAME_LEN+1] |
|
bool enable |
|
} enableTimer |
|
struct { |
int sigNo |
|
SIGNALTASK_HANDLER_FN * handler |
|
void * arg |
|
} installSignal |
|
struct { |
int sigNo |
|
SIGNALTASK_HANDLER_FN * handler |
|
bool add |
|
} addSignalHandler |
|
struct { |
char name [SIGNAL_NAME_LEN+1] |
|
SIGNALTASK_HANDLER_FN * handler |
|
bool add |
|
} addTimerHandler |
|
} | body |
|
GenericMsgType | genericMsgType_ |
|
void gcp::util::SignalTaskMsg::packAddHandlerMsg |
( |
std::string |
name, |
|
|
SIGNALTASK_HANDLER_FN * |
handler, |
|
|
bool |
add |
|
) |
| |
|
inline |
Pack a message to add a handler to a signal
void gcp::util::SignalTaskMsg::packAddHandlerMsg |
( |
int |
sigNo, |
|
|
SIGNALTASK_HANDLER_FN * |
handler, |
|
|
bool |
add |
|
) |
| |
|
inline |
Pack a message to add a handler to a signal
void gcp::util::SignalTaskMsg::packEnableTimerMsg |
( |
std::string |
name, |
|
|
bool |
enable |
|
) |
| |
|
inline |
Pack a message to enable/disable a timer.
void gcp::util::SignalTaskMsg::packInstallSignalMsg |
( |
int |
sigNo, |
|
|
SIGNALTASK_HANDLER_FN * |
handler, |
|
|
void * |
arg |
|
) |
| |
|
inline |
Pack a message to install a signal.
void gcp::util::SignalTaskMsg::packInstallTimerMsg |
( |
std::string |
name, |
|
|
int |
sigNo, |
|
|
unsigned long |
initSec, |
|
|
unsigned long |
initNsec, |
|
|
unsigned long |
intervalSec, |
|
|
unsigned long |
intervalNsec, |
|
|
SIGNALTASK_HANDLER_FN * |
handler |
|
) |
| |
|
inline |
Pack a message to install a timer.
union { ... } gcp::util::SignalTaskMsg::body |
A union of message bodies.
The documentation for this class was generated from the following file: