GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
TGo4SocketSignalHandler Class Reference

#include <TGo4SocketSignalHandler.h>

Public Member Functions

 TGo4SocketSignalHandler (Int_t signum, Bool_t enabled=kTRUE)
 
virtual ~TGo4SocketSignalHandler ()
 

Static Public Member Functions

static void SetSigWINCH (Bool_t enabled=kTRUE)
 
static bool IsLastSignalWINCH ()
 
static void DisableSigPipe ()
 
static void SetSignalAction (Int_t signum, Bool_t enabled=kTRUE)
 
static void Handle (int)
 
static Int_t GetLastSignal ()
 
static void SetLastSignal (Int_t v=0)
 

Private Member Functions

 TGo4SocketSignalHandler ()
 

Static Private Attributes

static Int_t fgiLastSignal = 0
 

Detailed Description

Definition at line 19 of file TGo4SocketSignalHandler.h.

Constructor & Destructor Documentation

TGo4SocketSignalHandler::TGo4SocketSignalHandler ( Int_t  signum,
Bool_t  enabled = kTRUE 
)

Definition at line 19 of file TGo4SocketSignalHandler.cxx.

References SetSignalAction().

TGo4SocketSignalHandler::~TGo4SocketSignalHandler ( )
virtual

Definition at line 24 of file TGo4SocketSignalHandler.cxx.

TGo4SocketSignalHandler::TGo4SocketSignalHandler ( )
private

Member Function Documentation

void TGo4SocketSignalHandler::DisableSigPipe ( )
static

Definition at line 71 of file TGo4SocketSignalHandler.cxx.

Referenced by TGo4Socket::TGo4Socket().

Int_t TGo4SocketSignalHandler::GetLastSignal ( )
static

Definition at line 104 of file TGo4SocketSignalHandler.cxx.

References fgiLastSignal.

Referenced by IsLastSignalWINCH().

void TGo4SocketSignalHandler::Handle ( int  signum)
static

Definition at line 29 of file TGo4SocketSignalHandler.cxx.

References fgiLastSignal, and SetSignalAction().

Referenced by SetSignalAction().

bool TGo4SocketSignalHandler::IsLastSignalWINCH ( )
static
void TGo4SocketSignalHandler::SetLastSignal ( Int_t  v = 0)
static
void TGo4SocketSignalHandler::SetSignalAction ( Int_t  signum,
Bool_t  enabled = kTRUE 
)
static

Definition at line 54 of file TGo4SocketSignalHandler.cxx.

References Handle().

Referenced by Handle(), SetSigWINCH(), and TGo4SocketSignalHandler().

void TGo4SocketSignalHandler::SetSigWINCH ( Bool_t  enabled = kTRUE)
static

Definition at line 49 of file TGo4SocketSignalHandler.cxx.

References SetSignalAction().

Referenced by TGo4Socket::TGo4Socket().

Member Data Documentation

Int_t TGo4SocketSignalHandler::fgiLastSignal = 0
staticprivate

Definition at line 43 of file TGo4SocketSignalHandler.h.

Referenced by GetLastSignal(), Handle(), and SetLastSignal().


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