ATLAS Offline Software
Public Member Functions | List of all members
IIOVSvc Class Referenceabstract

Abstract interface for IOVSvc. This is used (usually via StoreGateSvc regFcn and regHandle methods) to setup access to time-varying data, such as calibration. See http://annwm.lbl.gov/~leggett/Atlas/IOVSvc/main.shtml for details. More...

#include <IIOVSvc.h>

Inheritance diagram for IIOVSvc:
Collaboration diagram for IIOVSvc:

Public Member Functions

 DeclareInterfaceID (IIOVSvc, 1, 0)
 
virtual StatusCode createIOVTool (const std::string &storeName)=0
 
virtual std::vector< std::string > getStoreNames () const =0
 
interface to the IOVSvc CBTree
virtual StatusCode regFcn (SG::DataProxy *dp, const CallBackID &c, const IOVSvcCallBackFcn &fcn, bool trigger=false)=0
 register callback function More...
 
virtual StatusCode regFcn (const CallBackID &c1, const CallBackID &c2, const IOVSvcCallBackFcn &fcn2, bool trigger=false)=0
 register callback function More...
 
virtual StatusCode regFcn (const std::string &toolName, const CallBackID &c2, const IOVSvcCallBackFcn &fcn2, bool trigger=false)=0
 register callback function More...
 
virtual StatusCode regProxy (SG::DataProxy *proxy, const std::string &key, const std::string &storeName="StoreGateSvc")=0
 Subscribe method for DataProxy. key StoreGate key. More...
 
virtual StatusCode replaceProxy (SG::DataProxy *pOld, SG::DataProxy *pNew, const std::string &storeName="StoreGateSvc")=0
 replace a registered proxy with a new version More...
 
virtual StatusCode regProxy (const CLID &clid, const std::string &key, const std::string &storeName="StoreGateSvc")=0
 Another way to subscribe. More...
 
virtual StatusCode deregProxy (SG::DataProxy *proxy)=0
 
virtual StatusCode deregProxy (const CLID &clid, const std::string &key)=0
 
IOVRange accessors
virtual StatusCode setRange (const CLID &clid, const std::string &key, IOVRange &)=0
 
virtual StatusCode setRange (const CLID &clid, const std::string &key, IOVRange &, const std::string &storeName)=0
 
virtual StatusCode getRange (const CLID &clid, const std::string &key, IOVRange &iov) const =0
 
virtual StatusCode getRangeFromDB (const CLID &clid, const std::string &key, IOVRange &range, std::string &tag, std::unique_ptr< IOpaqueAddress > &ioa) const =0
 Get IOVRange from db for current event. More...
 
virtual StatusCode getRangeFromDB (const CLID &clid, const std::string &key, const IOVTime &time, IOVRange &range, std::string &tag, std::unique_ptr< IOpaqueAddress > &ioa) const =0
 Get IOVRange from db for a particular event. More...
 
virtual StatusCode setRangeInDB (const CLID &clid, const std::string &key, const IOVRange &range, const std::string &tag)=0
 Set a particular IOVRange in db (and memory) More...
 
virtual StatusCode dropObjectFromDB (const CLID &clid, const std::string &key, const std::string &storeName)=0
 Drop the associated object from the db and trigger reload. More...
 
virtual StatusCode preLoadTAD (const SG::TransientAddress *, const std::string &storeName="StoreGateSvc")=0
 pre-load transient Addresses More...
 
virtual StatusCode preLoadDataTAD (const SG::TransientAddress *, const std::string &storeName="StoreGateSvc")=0
 
virtual StatusCode getTriggeredTools (const std::string &key, std::set< std::string > &tools, const std::string &storeName="StoreGateSvc")=0
 get the names of the tools that have been triggered More...
 
virtual void resetAllProxies ()=0
 reset all proxies known to IOVSvc More...
 
virtual void ignoreProxy (const CLID &clid, const std::string &key, const std::string &storeName="StoreGateSvc")=0
 
virtual StatusCode createCondObj (CondContBase *, const DataObjID &, const EventIDBase &)=0
 

Detailed Description

Abstract interface for IOVSvc. This is used (usually via StoreGateSvc regFcn and regHandle methods) to setup access to time-varying data, such as calibration. See http://annwm.lbl.gov/~leggett/Atlas/IOVSvc/main.shtml for details.

Author
Charles Leggett

Definition at line 41 of file IIOVSvc.h.

Member Function Documentation

◆ createCondObj()

virtual StatusCode IIOVSvc::createCondObj ( CondContBase ,
const DataObjID &  ,
const EventIDBase &   
)
pure virtual

◆ createIOVTool()

virtual StatusCode IIOVSvc::createIOVTool ( const std::string &  storeName)
pure virtual

◆ DeclareInterfaceID()

IIOVSvc::DeclareInterfaceID ( IIOVSvc  ,
,
 
)

◆ deregProxy() [1/2]

virtual StatusCode IIOVSvc::deregProxy ( const CLID clid,
const std::string &  key 
)
pure virtual

◆ deregProxy() [2/2]

virtual StatusCode IIOVSvc::deregProxy ( SG::DataProxy proxy)
pure virtual

◆ dropObjectFromDB()

virtual StatusCode IIOVSvc::dropObjectFromDB ( const CLID clid,
const std::string &  key,
const std::string &  storeName 
)
pure virtual

Drop the associated object from the db and trigger reload.

◆ getRange()

virtual StatusCode IIOVSvc::getRange ( const CLID clid,
const std::string &  key,
IOVRange iov 
) const
pure virtual

◆ getRangeFromDB() [1/2]

virtual StatusCode IIOVSvc::getRangeFromDB ( const CLID clid,
const std::string &  key,
const IOVTime time,
IOVRange range,
std::string &  tag,
std::unique_ptr< IOpaqueAddress > &  ioa 
) const
pure virtual

Get IOVRange from db for a particular event.

◆ getRangeFromDB() [2/2]

virtual StatusCode IIOVSvc::getRangeFromDB ( const CLID clid,
const std::string &  key,
IOVRange range,
std::string &  tag,
std::unique_ptr< IOpaqueAddress > &  ioa 
) const
pure virtual

Get IOVRange from db for current event.

◆ getStoreNames()

virtual std::vector<std::string> IIOVSvc::getStoreNames ( ) const
pure virtual

◆ getTriggeredTools()

virtual StatusCode IIOVSvc::getTriggeredTools ( const std::string &  key,
std::set< std::string > &  tools,
const std::string &  storeName = "StoreGateSvc" 
)
pure virtual

get the names of the tools that have been triggered

◆ ignoreProxy()

virtual void IIOVSvc::ignoreProxy ( const CLID clid,
const std::string &  key,
const std::string &  storeName = "StoreGateSvc" 
)
pure virtual

◆ preLoadDataTAD()

virtual StatusCode IIOVSvc::preLoadDataTAD ( const SG::TransientAddress ,
const std::string &  storeName = "StoreGateSvc" 
)
pure virtual

◆ preLoadTAD()

virtual StatusCode IIOVSvc::preLoadTAD ( const SG::TransientAddress ,
const std::string &  storeName = "StoreGateSvc" 
)
pure virtual

pre-load transient Addresses

◆ regFcn() [1/3]

virtual StatusCode IIOVSvc::regFcn ( const CallBackID c1,
const CallBackID c2,
const IOVSvcCallBackFcn fcn2,
bool  trigger = false 
)
pure virtual

register callback function

Parameters
[in]c1call back fcn2 after callback with CallBackID c1 is triggered
[in]c2a unique identifier of this callback
[in]fcn2a boost::function object holding the callback function and the object it operates on
[in]triggerrequest immediate callback of fcn (default false)

◆ regFcn() [2/3]

virtual StatusCode IIOVSvc::regFcn ( const std::string &  toolName,
const CallBackID c2,
const IOVSvcCallBackFcn fcn2,
bool  trigger = false 
)
pure virtual

register callback function

Parameters
[in]toolNamecall back fcn2 after the tool named toolName (registered as a callback) is triggered
[in]c2a unique identifier of the callback (see CallBackID)
[in]fcn2a boost::function object holding the callback function and the object it operates on
[in]triggerrequest immediate callback of fcn (default false)

◆ regFcn() [3/3]

virtual StatusCode IIOVSvc::regFcn ( SG::DataProxy dp,
const CallBackID c,
const IOVSvcCallBackFcn fcn,
bool  trigger = false 
)
pure virtual

register callback function

Parameters
[in]dptrigger callback after data in dp changes
[in]ca unique identifier of the callback (see CallBackID)
[in]fcna boost::function object holding the callback function and the object it operates on
[in]triggerrequest immediate callback of fcn (default false)

◆ regProxy() [1/2]

virtual StatusCode IIOVSvc::regProxy ( const CLID clid,
const std::string &  key,
const std::string &  storeName = "StoreGateSvc" 
)
pure virtual

Another way to subscribe.

◆ regProxy() [2/2]

virtual StatusCode IIOVSvc::regProxy ( SG::DataProxy proxy,
const std::string &  key,
const std::string &  storeName = "StoreGateSvc" 
)
pure virtual

Subscribe method for DataProxy. key StoreGate key.

◆ replaceProxy()

virtual StatusCode IIOVSvc::replaceProxy ( SG::DataProxy pOld,
SG::DataProxy pNew,
const std::string &  storeName = "StoreGateSvc" 
)
pure virtual

replace a registered proxy with a new version

◆ resetAllProxies()

virtual void IIOVSvc::resetAllProxies ( )
pure virtual

reset all proxies known to IOVSvc

◆ setRange() [1/2]

virtual StatusCode IIOVSvc::setRange ( const CLID clid,
const std::string &  key,
IOVRange  
)
pure virtual

◆ setRange() [2/2]

virtual StatusCode IIOVSvc::setRange ( const CLID clid,
const std::string &  key,
IOVRange ,
const std::string &  storeName 
)
pure virtual

◆ setRangeInDB()

virtual StatusCode IIOVSvc::setRangeInDB ( const CLID clid,
const std::string &  key,
const IOVRange range,
const std::string &  tag 
)
pure virtual

Set a particular IOVRange in db (and memory)


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