LCCD  1.5.0
Protected Member Functions | Friends | List of all members
lccd::IConditionsChangeListener Class Referenceabstract

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>

Inheritance diagram for lccd::IConditionsChangeListener:
lccd::ConditionsMap< KEY, LCCONDOBJECT > TestListener

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
 

Detailed Description

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

Author
F.Gaede, S.Aplin, DESY
Version
Id:
IConditionsChangeListener.hh,v 1.2 2007-04-27 13:21:31 gaede Exp

Member Function Documentation

virtual void lccd::IConditionsChangeListener::conditionsChanged ( lcio::LCCollection *  col)
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 >.


The documentation for this class was generated from the following file: