My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::SignalTask::SignalHandler Class Reference

#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
 

Detailed Description

A class to manage signal handlers for all handled signals.

Constructor & Destructor Documentation

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.

Member Function Documentation

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


The documentation for this class was generated from the following files: