DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
ConditionsListener.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 #ifndef DD4HEP_CONDITIONSLISTENER_H
14 #define DD4HEP_CONDITIONSLISTENER_H
15 
16 // Framework include files
17 #include <DD4hep/Conditions.h>
18 
19 // C/C++ include files
20 
22 namespace dd4hep {
23 
25  class IOV;
26  class IOVType;
27 
29  namespace cond {
30 
32  class ConditionsPool;
33 
35 
42  public:
46  virtual ~ConditionsListener();
48  virtual void onRegisterIOVType(const IOVType* /* type */, void* /* param */) { }
50  virtual void onRegisterCondition(Condition /* cond */, void* /* param */) { }
52  virtual void onRegisterPool(ConditionsPool* /* pool */, void* /* param */) { }
53 
55  virtual void onRemoveCondition(Condition /* cond */, void* /* param */) { }
57  virtual void onRemovePool(ConditionsPool* /* pool */, void* /* param */) { }
58  };
59 
60  } /* End namespace detail */
61 } /* End namespace dd4hep */
62 
63 #endif // DD4HEP_CONDITIONSLISTENER_H
cond
AlignmentCondition::Object * cond
Definition: AlignmentsCalculator.cpp:68
dd4hep::cond::ConditionsListener::onRegisterPool
virtual void onRegisterPool(ConditionsPool *, void *)
ConditionsListener dummy implementation: onRegister new conditions pool.
Definition: ConditionsListener.h:52
dd4hep::cond::ConditionsListener::~ConditionsListener
virtual ~ConditionsListener()
Default destructor.
Definition: ConditionsListener.cpp:24
dd4hep::cond::ConditionsListener::onRemovePool
virtual void onRemovePool(ConditionsPool *, void *)
ConditionsListener dummy implementation: onRemove a conditions pool.
Definition: ConditionsListener.h:57
dd4hep::IOVType
Class describing the interval of validty type.
Definition: IOV.h:37
dd4hep::Condition
Main condition object handle.
Definition: Conditions.h:51
dd4hep::cond::ConditionsPool
Class implementing the conditions collection for a given IOV type.
Definition: ConditionsPool.h:54
dd4hep::cond::ConditionsListener::onRemoveCondition
virtual void onRemoveCondition(Condition, void *)
ConditionsListener dummy implementation: onRemove a condition.
Definition: ConditionsListener.h:55
Conditions.h
dd4hep::cond::ConditionsListener::onRegisterIOVType
virtual void onRegisterIOVType(const IOVType *, void *)
ConditionsListener dummy implementation: onRegister new IOV type.
Definition: ConditionsListener.h:48
dd4hep::cond::ConditionsListener
Base class to be implemented by objects to listen on condition callbacks.
Definition: ConditionsListener.h:41
dd4hep::cond::ConditionsListener::onRegisterCondition
virtual void onRegisterCondition(Condition, void *)
ConditionsListener dummy implementation: onRegister new condition.
Definition: ConditionsListener.h:50
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::cond::ConditionsListener::ConditionsListener
ConditionsListener()
Default constructor.
Definition: ConditionsListener.cpp:20