LCCD
1.5.0
|
Simple interface that allows notification of implementation classes if a conditions data set has changed, or the implementation classes are registered with a class inheriting from ConditionsHandlerBase. More...
#include <IConditionsChangeListener.hh>
Protected Member Functions | |
virtual void | conditionsChanged (lcio::LCCollection *col)=0 |
The callback - use updated conditions data collection as needed, e.g. More... | |
virtual void | registeredWithHandler (IConditionsHandler *ch) |
Callback called by handler when registered, should not be called directly. | |
virtual void | deRegisteredWithHandler (IConditionsHandler *ch) |
Callback called by handler when deregistered, should not be called directly. | |
const std::list < IConditionsHandler * > & | handlerList () |
Get handler list. | |
Friends | |
class | ConditionsHandlerBase |
Simple interface that allows notification of implementation classes if a conditions data set has changed, or the implementation classes are registered with a class inheriting from ConditionsHandlerBase.
Note: friend class ConditionsHandlerBase
|
protectedpure virtual |
The callback - use updated conditions data collection as needed, e.g.
repopulate a calibration map. Implementors can access the collection name through the collection parameter "CollectionName":
std::string colName = col->getParameters().getStringVal("CollectionName") ;
if needed.
Implemented in lccd::ConditionsMap< KEY, LCCONDOBJECT >.