Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

EsafMsgSource

#include "EsafMsgSource.hh"

EsafMsgSource


class description - source file - inheritance tree (.pdf)

class EsafMsgSource

Inheritance Chart:
EsafMsgSource
<-
Atmosphere
<-
LinsleyAtmosphere
LowtranAtmosphere
MSISE_00Atmosphere
AtmosphereData
<-
LinsleyAtmosphereData
LowtranAtmosphereData
MSISE_00AtmosphereData
AtmosphereFactory
BunchOfPhotons
 [more...]

    protected:
EsafMsgSource() EsafMsgSource(const EsafMsgSource&) public:
virtual ~EsafMsgSource() static TClass* Class() void Dispatch() const void FatalError(const string& errmsg) const virtual TClass* IsA() const EsafMsg& Msg(EsafMsg::MsgSeverity) const void MsgForm(EsafMsg::MsgSeverity, const char* fmt) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
EsafMsg fMsg

Class Description

  ESAF Message Source
  ===================

  Each class that wants to send messages must inherit from this one

  Two ways to send a message:

  Using a stream
  examples (equivalent):
     Msg(EsafMsg::Warning) << "my text" << MsgDispatch;
  or
     Msg(EsafMsg::Warning) << "my text";
     Dispatch();

  or using printf like syntax:
  example:
     MsgForm( EsafMsg::Severity, "msg with printf formatting", var1, var2...);

  The messages are dispatched on screen and log file according to the default
  values specified by the configuration files



EsafMsgSource()
 ctor


EsafMsgSource( const EsafMsgSource& )
 copy ctor


EsafMsg& Msg(EsafMsg::MsgSeverity s) const
 Prepare a new message and returns it


void MsgForm(EsafMsg::MsgSeverity s, const char *va_(fmt), ...) const
 Prepare and send a message with printf syntax




Inline Functions


               void ~EsafMsgSource()
               void Dispatch() const
               void FatalError(const string& errmsg) const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
About Us | EUSO Official Website | Web pages created by Roberto Pesce and Alessandro Thea - Last Update Wed Nov 16 16:23:11 2005