COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
covise::SignalHandler Class Reference

#include <covise_signal.h>

Public Types

typedef void SigFunctVoid (int, void *)
 

Public Member Functions

 SignalHandler ()
 
void addSignal (int signo, void *handlerFunc, void *udata)
 
void removeSignal (int signo)
 
void blockSignals (void)
 
void unblockSignals (void)
 
int isPending (int signo)
 
 ~SignalHandler (void)
 

Static Private Member Functions

static voiddoHandle (int sig)
 

Private Attributes

voidoldData
 
int sigNr
 
sigset_t oldmask
 
sigset_t newmask
 
sigset_t pendmask
 
int use_signals
 
char * tmp_env
 

Static Private Attributes

static voiduserdata [65]
 
static voidhandler [65]
 

Member Typedef Documentation

typedef void covise::SignalHandler::SigFunctVoid(int, void *)

Constructor & Destructor Documentation

SignalHandler::SignalHandler ( )
SignalHandler::~SignalHandler ( void  )

Member Function Documentation

void SignalHandler::addSignal ( int  signo,
void handlerFunc,
void udata 
)
void SignalHandler::blockSignals ( void  )
void * SignalHandler::doHandle ( int  sig)
staticprivate
int SignalHandler::isPending ( int  signo)
void SignalHandler::removeSignal ( int  signo)
void SignalHandler::unblockSignals ( void  )

Member Data Documentation

void * SignalHandler::handler
staticprivate
sigset_t covise::SignalHandler::newmask
private
void* covise::SignalHandler::oldData
private
sigset_t covise::SignalHandler::oldmask
private
sigset_t covise::SignalHandler::pendmask
private
int covise::SignalHandler::sigNr
private
char* covise::SignalHandler::tmp_env
private
int covise::SignalHandler::use_signals
private
void * SignalHandler::userdata
staticprivate

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