![]() |
|
|||
File indexing completed on 2025-02-21 09:58:00
0001 //========================================================================== 0002 // AIDA Detector description implementation 0003 //-------------------------------------------------------------------------- 0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0005 // All rights reserved. 0006 // 0007 // For the licensing terms see $DD4hepINSTALL/LICENSE. 0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0009 // 0010 // Author : M.Frank 0011 // 0012 //========================================================================== 0013 #ifndef DD4HEP_CONDITIONSLISTENER_H 0014 #define DD4HEP_CONDITIONSLISTENER_H 0015 0016 // Framework include files 0017 #include <DD4hep/Conditions.h> 0018 0019 // C/C++ include files 0020 0021 /// Namespace for the AIDA detector description toolkit 0022 namespace dd4hep { 0023 0024 /// Forward declarations 0025 class IOV; 0026 class IOVType; 0027 0028 /// Namespace for implementation details of the AIDA detector description toolkit 0029 namespace cond { 0030 0031 /// Forward declarations 0032 class ConditionsPool; 0033 0034 /// Base class to be implemented by objects to listen on condition callbacks 0035 /** 0036 * 0037 * \author M.Frank 0038 * \version 1.0 0039 * \ingroup DD4HEP_CONDITIONS 0040 */ 0041 class ConditionsListener { 0042 public: 0043 /// Default constructor 0044 ConditionsListener(); 0045 /// Default destructor 0046 virtual ~ConditionsListener(); 0047 /// ConditionsListener dummy implementation: onRegister new IOV type 0048 virtual void onRegisterIOVType(const IOVType* /* type */, void* /* param */) { } 0049 /// ConditionsListener dummy implementation: onRegister new condition 0050 virtual void onRegisterCondition(Condition /* cond */, void* /* param */) { } 0051 /// ConditionsListener dummy implementation: onRegister new conditions pool 0052 virtual void onRegisterPool(ConditionsPool* /* pool */, void* /* param */) { } 0053 0054 /// ConditionsListener dummy implementation: onRemove a condition 0055 virtual void onRemoveCondition(Condition /* cond */, void* /* param */) { } 0056 /// ConditionsListener dummy implementation: onRemove a conditions pool 0057 virtual void onRemovePool(ConditionsPool* /* pool */, void* /* param */) { } 0058 }; 0059 0060 } /* End namespace detail */ 0061 } /* End namespace dd4hep */ 0062 0063 #endif // DD4HEP_CONDITIONSLISTENER_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |