CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
zmex::ZMexHandler Class Reference

#include <ZMexHandler.h>

+ Inheritance diagram for zmex::ZMexHandler:

Public Member Functions

 ZMexHandler (const ZMexHandlerBehavior &behaviorWanted)
 
virtual ~ZMexHandler ()
 
std::string name () const
 
virtual ZMexAction takeCareOf (const ZMexception &x)
 
int setLogLimit (ZMexSeverity s, int limit)
 
- Public Member Functions inherited from ZMhandleTo< ZMexHandlerBehavior >
 ZMhandleTo ()
 
 ZMhandleTo (const ZMhandleTo &h)
 
 ~ZMhandleTo ()
 
ZMhandleTooperator= (const ZMhandleTo &rhs)
 

Additional Inherited Members

- Protected Member Functions inherited from ZMhandleTo< ZMexHandlerBehavior >
 ZMhandleTo (const ZMexHandlerBehavior &t)
 
 ZMhandleTo (const ZMexHandlerBehavior *t)
 
- Protected Attributes inherited from ZMhandleTo< ZMexHandlerBehavior >
ZMuseCount u_
 
ZMexHandlerBehavior * rep_
 

Detailed Description

Definition at line 96 of file ZMexHandler.h.

Constructor & Destructor Documentation

◆ ZMexHandler()

zmex::ZMexHandler::ZMexHandler ( const ZMexHandlerBehavior behaviorWanted)
inline

Definition at line 100 of file ZMexHandler.h.

102 :
103 ZMhandleTo<ZMexHandlerBehavior>( behaviorWanted )
104 { }

◆ ~ZMexHandler()

zmex::ZMexHandler::~ZMexHandler ( )
virtual

Definition at line 30 of file ZMexHandler.cc.

30{ }

Member Function Documentation

◆ name()

std::string zmex::ZMexHandler::name ( ) const
inline

Definition at line 108 of file ZMexHandler.h.

108 {
109 return rep_->name();
110 }
ZMexHandlerBehavior * rep_
Definition: ZMhandleTo.h:39

◆ setLogLimit()

int zmex::ZMexHandler::setLogLimit ( ZMexSeverity  s,
int  limit 
)
inline

Definition at line 116 of file ZMexHandler.h.

116 {
117 int lim = ZMexSeverityLimit[ s ];
118 ZMexSeverityLimit[ s ] = limit;
119 return lim;
120 }
int ZMexSeverityLimit[ZMexSEVERITYenumLAST]
Definition: ZMexSeverity.cc:45

◆ takeCareOf()

virtual ZMexAction zmex::ZMexHandler::takeCareOf ( const ZMexception x)
inlinevirtual

Definition at line 112 of file ZMexHandler.h.

112 {
113 return rep_->takeCareOf(x);
114 }

Referenced by zmex::ZMexception::handleMe().


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