![]()  | 
  
    The Gaudi Framework
    v29r3 (fa547fc2)
    
   | 
 
Guards.h GaudiKernel/Guards.h Collection of very simple classes which allows to execution of some functions within the given well-defined and exception-safe context. More...
Classes | |
| class | AuditorGuard | 
| It is a simple guard, which "locks" the scope for the Auditor Service is am exception-safe way.  More... | |
| class | ExceptionGuard | 
| The most simple guard - it execute the certain code withing typical "try {} catch" clause, used in Auditor, Algorithm, AlgTool, etc.  More... | |
Guards.h GaudiKernel/Guards.h Collection of very simple classes which allows to execution of some functions within the given well-defined and exception-safe context.
In addition these utilities allow to remove many ugly lines from many ancient base classes
The namespace contains two simple guards:
Please note tha the class Gaudi::Utils::AlgContext is also some kind of "guard".
All these guards could work together in very collaborative way:
C++ guarantees the proper execution of all "post"-actions for all involved guards when the scope is destroyed.