![]() |
The Gaudi Framework
v27r0
|
EvtPersistencySvc class implementation definition. More...
#include <src/PersistencySvc/EvtPersistencySvc.h>
Public Member Functions | |
: Object implementation | |
EvtPersistencySvc (const std::string &name, ISvcLocator *svc) | |
Standard Constructor. More... | |
~EvtPersistencySvc () override=default | |
Standard Destructor. More... | |
![]() | |
long | repSvcType () const override |
Return default service type. More... | |
const CLID & | objType () const override |
Retrieve the class type of objects the converter produces. (DUMMY) More... | |
StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) override |
Implementation of IConverter: Create the transient representation of an object. More... | |
StatusCode | fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
Implementation of IConverter: Resolve the references of the created transient object. More... | |
StatusCode | updateObj (IOpaqueAddress *pAddress, DataObject *refpObject) override |
Implementation of IConverter: Update the transient object from the other representation. More... | |
StatusCode | updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
Implementation of IConverter: Update the references of an updated transient object. More... | |
StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) override |
Implementation of IConverter: Convert the transient object to the requested representation. More... | |
StatusCode | fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
Implementation of IConverter: Resolve the references of the converted object. More... | |
StatusCode | updateRep (IOpaqueAddress *pAddress, DataObject *pObject) override |
Implementation of IConverter: Update the converted representation of a transient object. More... | |
StatusCode | updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
Implementation of IConverter: Update the references of an already converted object. More... | |
StatusCode | setDataProvider (IDataProviderSvc *pStore) override |
Define transient datastore. More... | |
SmartIF< IDataProviderSvc > & | dataProvider () const override |
Access reference to transient datastore. More... | |
StatusCode | setConversionSvc (IConversionSvc *svc) override |
Set conversion service the converter is connected to. More... | |
SmartIF< IConversionSvc > & | conversionSvc () const override |
Get conversion service the converter is connected to. More... | |
StatusCode | setAddressCreator (IAddressCreator *creator) override |
Set address creator facility. More... | |
SmartIF< IAddressCreator > & | addressCreator () const override |
Retrieve address creator facility. More... | |
StatusCode | addConverter (IConverter *pConverter) override |
Add converter object to conversion service. More... | |
StatusCode | addConverter (const CLID &clid) override |
Add converter object to conversion service. More... | |
IConverter * | converter (const CLID &clid) override |
Retrieve converter from list. More... | |
StatusCode | removeConverter (const CLID &clid) override |
Remove converter object from conversion service (if present). More... | |
StatusCode | connectOutput (const std::string &outputFile, const std::string &openMode) override |
Connect the output file to the service with open mode. More... | |
StatusCode | connectOutput (const std::string &outputFile) override |
Connect the output file to the service. More... | |
StatusCode | commitOutput (const std::string &output, bool do_commit) override |
Commit pending output. More... | |
StatusCode | createAddress (long svc_type, const CLID &clid, const std::string *pars, const unsigned long *ipars, IOpaqueAddress *&refpAddress) override |
Create a Generic address using explicit arguments to identify a single object. More... | |
StatusCode | convertAddress (const IOpaqueAddress *pAddress, std::string &refAddress) override |
Convert an address to string form. More... | |
StatusCode | createAddress (long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress) override |
Convert an address in string form to object form. More... | |
StatusCode | addCnvService (IConversionSvc *service) override |
Add a new Service. More... | |
StatusCode | removeCnvService (long type) override |
Remove a Service. More... | |
StatusCode | setDefaultCnvService (long type) override |
Set default service type. More... | |
StatusCode | getService (long service_type, IConversionSvc *&refpSvc) override |
Retrieve conversion service identified by technology. More... | |
StatusCode | getService (const std::string &service_type, IConversionSvc *&refpSvc) override |
Retrieve conversion service identified by technology. More... | |
StatusCode | initialize () override |
Initialize the service. More... | |
StatusCode | finalize () override |
stop the service. More... | |
PersistencySvc (const std::string &name, ISvcLocator *svc) | |
Standard Constructor. More... | |
~PersistencySvc () override=default | |
Standard Destructor. More... | |
![]() | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Additional Inherited Members | |
![]() | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
![]() | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
![]() | |
typedef std::map< long, ServiceEntry > | Services |
![]() | |
void | svcNamesHandler (Property &theProp) |
Handlers for Service Names Property. More... | |
SmartIF< IConversionSvc > & | service (const std::string &nam) |
Retrieve conversion service by name. More... | |
SmartIF< IConversionSvc > & | service (long service_type) |
Retrieve conversion service from list. More... | |
SmartIF< IAddressCreator > & | addressCreator (long service_type) |
Retrieve address creator from list. More... | |
void | encodeAddrHdr (long service_type, const CLID &clid, std::string &address) const |
Retrieve string from storage type and clid. More... | |
void | decodeAddrHdr (const std::string &address, long &service_type, CLID &clid, std::string &address_trailer) const |
Retrieve storage type and clid from address header of string. More... | |
StatusCode | makeCall (int typ, IOpaqueAddress *&pAddress, DataObject *&pObject) |
Implementation helper. More... | |
bool | enable (bool value) |
Set enabled flag. More... | |
![]() | |
long | m_cnvDefType = TEST_StorageType |
Default service type. More... | |
SmartIF< IDataProviderSvc > | m_dataSvc |
Pointer to datma provider service. More... | |
Services | m_cnvServices |
List of convermsion workers. More... | |
SmartIF< IConversionSvc > | m_cnvDefault |
Default output service. More... | |
StringArrayProperty | m_svcNames |
Names of services to be requested from the service locator and added by default. More... | |
bool | m_enable = true |
Flag to indicate that the service is enabled. More... | |
SmartIF< IAddressCreator > | m_addrCreator |
Pointer to the IAddressCreator interface of this, for addressCreator(). More... | |
EvtPersistencySvc class implementation definition.
System: The LHCb Offline System
Package: EvtPersistencySvc
Dependencies:
History:
+---------+----------------------------------------------+---------+ | Date | Comment | Who | +---------+----------------------------------------------+---------+ | 3/11/98 | Initial version | M.Frank | +---------+----------------------------------------------+---------+
Definition at line 37 of file EvtPersistencySvc.h.
EvtPersistencySvc::EvtPersistencySvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Standard Constructor.
Definition at line 32 of file EvtPersistencySvc.cpp.
|
overridedefault |
Standard Destructor.