FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MCStepInterceptor.cxx File Reference

Go to the source code of this file.

Macros

#define DECLARE_INTERCEPT_SYMBOLS(APP)
 
#define INTERCEPT_STEPPING(APP, LIB, SYMBOL)
 
#define INTERCEPT_FINISHEVENT(APP, LIB, SYMBOL)
 
#define INTERCEPT_FINISHRUN(APP, LIB, SYMBOL)
 

Functions

void performLogging (FairMCApplication *)
 
void dispatchStepping (FairMCApplication *, char const *libname, char const *)
 
void dispatchFinishEvent (FairMCApplication *, char const *libname, char const *)
 
void dispatchFinishRun (FairMCApplication *, char const *libname, char const *)
 
void flushLog ()
 
void flushFinalLog ()
 

Macro Definition Documentation

#define DECLARE_INTERCEPT_SYMBOLS (   APP)
Value:
class APP \
{ \
public: \
void Stepping(); \
void FinishEvent(); \
void FinishRun(); \
};

Definition at line 32 of file MCStepInterceptor.cxx.

#define INTERCEPT_FINISHEVENT (   APP,
  LIB,
  SYMBOL 
)
Value:
void APP::FinishEvent() \
{ \
auto baseptr = reinterpret_cast<FairMCApplication *>(this); \
dispatchFinishEvent(baseptr, LIB, SYMBOL); \
}
void dispatchFinishEvent(FairMCApplication *, char const *libname, char const *)
void flushLog()

Definition at line 58 of file MCStepInterceptor.cxx.

#define INTERCEPT_FINISHRUN (   APP,
  LIB,
  SYMBOL 
)
Value:
void APP::FinishRun() \
{ \
auto baseptr = reinterpret_cast<FairMCApplication *>(this); \
dispatchFinishRun(baseptr, LIB, SYMBOL); \
}
void flushFinalLog()
void dispatchFinishRun(FairMCApplication *, char const *libname, char const *)

Definition at line 66 of file MCStepInterceptor.cxx.

#define INTERCEPT_STEPPING (   APP,
  LIB,
  SYMBOL 
)
Value:
void APP::Stepping() \
{ \
auto baseptr = reinterpret_cast<FairMCApplication *>(this); \
performLogging(baseptr); \
dispatchStepping(baseptr, LIB, SYMBOL); \
}
void dispatchStepping(FairMCApplication *, char const *libname, char const *)
void performLogging(FairMCApplication *)

Definition at line 50 of file MCStepInterceptor.cxx.

Function Documentation

void dispatchFinishEvent ( FairMCApplication ,
char const *  libname,
char const *   
)

Definition at line 166 of file MCStepLoggerImpl.cxx.

void dispatchFinishRun ( FairMCApplication ,
char const *  libname,
char const *   
)

Definition at line 199 of file MCStepLoggerImpl.cxx.

void dispatchStepping ( FairMCApplication ,
char const *  libname,
char const *   
)

Definition at line 133 of file MCStepLoggerImpl.cxx.

void flushFinalLog ( )

Definition at line 236 of file MCStepLoggerImpl.cxx.

void flushLog ( )

Definition at line 234 of file MCStepLoggerImpl.cxx.

void performLogging ( FairMCApplication )

Definition at line 228 of file MCStepLoggerImpl.cxx.