TASLogHandler Class Reference

#include <TApplicationServer.h>

Inheritance diagram for TASLogHandler:

TFileHandler TFileHandler TSysEvtHandler TSysEvtHandler TSysEvtHandler TSysEvtHandler TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject List of all members.

Public Types

enum  EStatusBits
enum  EStatusBits

Public Member Functions

 TASLogHandler (const char *cmd, TSocket *s, const char *pfx="")
 TASLogHandler (FILE *f, TSocket *s, const char *pfx="")
virtual ~TASLogHandler ()
Bool_t IsValid ()
Bool_t Notify ()
Bool_t ReadNotify ()
 TASLogHandler (const char *cmd, TSocket *s, const char *pfx="")
 TASLogHandler (FILE *f, TSocket *s, const char *pfx="")
virtual ~TASLogHandler ()
Bool_t IsValid ()
Bool_t Notify ()
Bool_t ReadNotify ()

Static Public Member Functions

static void SetDefaultPrefix (const char *pfx)
static void SetDefaultPrefix (const char *pfx)

Private Attributes

TSocketfSocket
FILE * fFile
TString fPfx
TSocketfSocket
FILE * fFile

Static Private Attributes

static TString fgPfx

Detailed Description

Definition at line 109 of file TApplicationServer.h.


Member Enumeration Documentation

enum TASLogHandler::EStatusBits

Reimplemented from TObject.

Definition at line 117 of file TApplicationServer.h.

enum TASLogHandler::EStatusBits

Reimplemented from TObject.

Definition at line 117 of file TApplicationServer.h.


Constructor & Destructor Documentation

TASLogHandler::TASLogHandler ( const char *  cmd,
TSocket s,
const char *  pfx = "" 
)

Definition at line 132 of file TApplicationServer.cxx.

References TObject::Error(), fFile, fSocket, gSystem, kFileIsPipe, Notify(), TSystem::OpenPipe(), TObject::ResetBit(), s, TObject::SetBit(), and TFileHandler::SetFd().

TASLogHandler::TASLogHandler ( FILE *  f,
TSocket s,
const char *  pfx = "" 
)

Definition at line 157 of file TApplicationServer.cxx.

References TObject::Error(), fFile, kFileIsPipe, Notify(), TObject::ResetBit(), s, and TFileHandler::SetFd().

TASLogHandler::~TASLogHandler (  )  [virtual]

Definition at line 174 of file TApplicationServer.cxx.

References TSystem::ClosePipe(), fFile, fSocket, gSystem, kFileIsPipe, TObject::ResetBit(), and TObject::TestBit().

TASLogHandler::TASLogHandler ( const char *  cmd,
TSocket s,
const char *  pfx = "" 
)

TASLogHandler::TASLogHandler ( FILE *  f,
TSocket s,
const char *  pfx = "" 
)

virtual TASLogHandler::~TASLogHandler (  )  [virtual]


Member Function Documentation

Bool_t TASLogHandler::IsValid (  )  [inline]

Definition at line 122 of file TApplicationServer.h.

References fFile, fSocket, kFALSE, and kTRUE.

Referenced by Notify(), TASLogHandlerGuard::TASLogHandlerGuard(), and TASLogHandlerGuard::~TASLogHandlerGuard().

Bool_t TASLogHandler::Notify (  )  [virtual]

Reimplemented from TFileHandler.

Definition at line 185 of file TApplicationServer.cxx.

References TString::Data(), fFile, fgPfx, Form(), fPfx, fSocket, IsValid(), kMESS_ANY, kRRT_Message, kTRUE, TString::Length(), line, m, and TSocket::Send().

Referenced by ReadNotify(), and TASLogHandler().

Bool_t TASLogHandler::ReadNotify (  )  [inline, virtual]

Reimplemented from TFileHandler.

Definition at line 125 of file TApplicationServer.h.

References Notify().

void TASLogHandler::SetDefaultPrefix ( const char *  pfx  )  [static]

Definition at line 216 of file TApplicationServer.cxx.

References fgPfx.

Referenced by ClassImp().

Bool_t TASLogHandler::IsValid (  )  [inline]

Definition at line 122 of file TApplicationServer.h.

References fFile, fSocket, kFALSE, and kTRUE.

Bool_t TASLogHandler::Notify (  )  [virtual]

Reimplemented from TFileHandler.

Bool_t TASLogHandler::ReadNotify (  )  [inline, virtual]

Reimplemented from TFileHandler.

Definition at line 125 of file TApplicationServer.h.

References Notify().

static void TASLogHandler::SetDefaultPrefix ( const char *  pfx  )  [static]


Member Data Documentation

TSocket* TASLogHandler::fSocket [private]

Definition at line 111 of file TApplicationServer.h.

Referenced by IsValid(), Notify(), TASLogHandler(), and ~TASLogHandler().

FILE* TASLogHandler::fFile [private]

Definition at line 112 of file TApplicationServer.h.

Referenced by IsValid(), Notify(), TASLogHandler(), and ~TASLogHandler().

TString TASLogHandler::fPfx [private]

Definition at line 113 of file TApplicationServer.h.

Referenced by Notify().

TString TASLogHandler::fgPfx [static, private]

Definition at line 115 of file TApplicationServer.h.

Referenced by Notify(), and SetDefaultPrefix().

TSocket* TASLogHandler::fSocket [private]

Definition at line 111 of file TApplicationServer.h.

FILE* TASLogHandler::fFile [private]

Definition at line 112 of file TApplicationServer.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1