#include <DBCondHandler.hh>
Inheritance diagram for lccd::DBCondHandler:
Public Member Functions | |
DBCondHandler (const std::string &dbInit, const std::string &folder, const std::string &name, const std::string &tag="") | |
Default constructor. | |
virtual void | update (LCCDTimeStamp timeStamp) |
Retrieves the conditions data from the data base if time stamp exceeds current validity time range. Notifies all registered listeners if conditions have changed. | |
Protected Attributes | |
lccd::DBInterface * | _db |
std::string | _dbInit |
std::string | _folder |
std::string | _tag |
On every call to update() it checks whether the provided time stamp exceeds the validity of the current conditions data. If so, new constants are retrieved from the data base.
|
Default constructor. You have to specify the following parameters:
|