|
My Project
|
#include <SignalTask.h>
Public Member Functions | |
| SignalHandler (int sigNo, SIGNALTASK_HANDLER_FN(*handler), void *arg=NULL) | |
| SignalHandler (int sigNo, SIGNALTASK_HANDLER_FN(*handler), TimerInfo *timer, void *arg=NULL) | |
| void | reArm () |
| ~SignalHandler () | |
| void | addHandler (SIGNALTASK_HANDLER_FN(*handler), void *arg=NULL) |
| void | removeHandler (SIGNALTASK_HANDLER_FN(*handler)) |
Friends | |
| class | SignalTask |
A class to manage signal handlers for all handled signals.
| SignalTask::SignalHandler::SignalHandler | ( | int | sigNo, |
| SIGNALTASK_HANDLER_FN * | handler, | ||
| void * | args = NULL |
||
| ) |
Constructors.
....................................................................... Constructor.
| SignalTask::SignalHandler::SignalHandler | ( | int | sigNo, |
| SIGNALTASK_HANDLER_FN * | handler, | ||
| TimerInfo * | timer, | ||
| void * | args = NULL |
||
| ) |
Constructor with a pointer to the timer associated with this signal.
....................................................................... Constructor with TimerInfo pointer to the timer associated with this signal handler.
| SignalTask::SignalHandler::~SignalHandler | ( | ) |
Destructor
....................................................................... Destructor.
| void SignalTask::SignalHandler::addHandler | ( | SIGNALTASK_HANDLER_FN * | handler, |
| void * | args = NULL |
||
| ) |
Add a handler to the set attached to this signal
....................................................................... Add a handler to the set attached to this signal
| void SignalTask::SignalHandler::reArm | ( | ) |
Re-arm any periodic timer associated with this handler.
....................................................................... Re-arm any periodic timer associated with this handler.
| void SignalTask::SignalHandler::removeHandler | ( | SIGNALTASK_HANDLER_FN * | handler | ) |
Remove a handler to the set attached to this signal
....................................................................... Remove a handler from the set attached to this signal