#include <IConditionsHandler.hh>
Inheritance diagram for lccd::IConditionsHandler:
Public Member Functions | |
virtual void | updateEvent (lcio::LCEvent *evt)=0 |
Retrieves the new conditions data if required by evt->getTimestamp() and adds a collection to event with its name. | |
virtual void | update (LCCDTimeStamp timestamp)=0 |
Retrieves the new conditions data if required by timestamp. | |
virtual lcio::LCCollection * | currentCollection ()=0 |
Returns the current collection of conditions data. | |
virtual void | registerChangeListener (IConditionsChangeListener *cl)=0 |
Every IConditionsChangeListener will be notified if the conditions data of this instance has changed. | |
virtual void | removeChangeListener (IConditionsChangeListener *cl)=0 |
Remove the specified listener from list of registered listeners ;. | |
virtual const std::string | name ()=0 |
The name of this conditions handler - used, e.g. | |
virtual LCCDTimeStamp | validSince ()=0 |
First timestamp for which the current conditions data is valid. | |
virtual LCCDTimeStamp | validTill ()=0 |
Last timestamp for which the current conditions data is valid. |
Need one implementation instance for every data set. Check documentation of concrete implemetation for behaviour on update, e.g. a simple file handler might ignore calls to update and allways hold the same data set.
|
The name of this conditions handler - used, e.g. as name of the collection in update( lcio::LCEvent* evt ).
Implemented in lccd::ConditionsHandlerBase. |
|
Retrieves the new conditions data if required by timestamp.
Notifies all registered listeners Implemented in lccd::ConditionsHandlerBase, lccd::DataFileHandler, lccd::DBCondHandler, lccd::DBFileHandler, and lccd::SimpleFileHandler. |
|
Retrieves the new conditions data if required by evt->getTimestamp() and adds a collection to event with its name. Notifies all registered listeners Implemented in lccd::ConditionsHandlerBase, and lccd::DataFileHandler. |