| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

IValidity.h

Go to the documentation of this file.
00001 #ifndef      __GAUDI_INTERFACES_IVALIDITY_H__
00002 #define      __GAUDI_INTERFACES_IVALIDITY_H__
00003 
00004 //
00005 //   class IValidity : interface for asking the validity of a given object
00006 //                      
00007 //
00008 
00009 namespace Gaudi { class Time; }
00010 
00011 class StatusCode;
00012 
00013 class IValidity
00014 {
00015   
00016  public:
00017   
00018   // is the Object valid? (it can be always invalid)
00019   virtual       bool           isValid    ()                const = 0 ; 
00020   
00021   // is the Object valid for a given time?
00022   virtual       bool           isValid    ( const Gaudi::Time& )  const = 0 ; 
00023   
00024   // since what time the Objest is valid?
00025   virtual const Gaudi::Time&   validSince ()                const = 0 ; 
00026   
00027   // till  what time the Object is Valid?
00028   virtual const Gaudi::Time&   validTill  ()                const = 0 ;
00029   
00030   // set the validity range of the Object
00031   virtual       void           setValidity       ( const Gaudi::Time& , const Gaudi::Time& ) = 0 ; 
00032   // set the validity time of the Object 
00033   virtual       void           setValiditySince  ( const Gaudi::Time& ) = 0 ; 
00034   
00035   // set the validity time of the Object 
00036   virtual       void           setValidityTill   ( const Gaudi::Time& ) = 0 ;
00037   
00038   // destructor
00039   virtual ~IValidity(){};
00040 
00041 };
00042 
00043 //
00044 //
00045 //
00046 
00047 
00048 
00049 #endif   //  __GAUDI_INTERFACES_IVALIDITY_H__
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:56:58 2011 for GaudiKernel by doxygen 1.4.7