![]() |
The Gaudi Framework
v27r0
|
HistogramPersistencySvc class implementation definition. More...
#include <src/PersistencySvc/HistogramPersistencySvc.h>
Public Types | |
typedef std::vector< std::string > | Strings |
the actual type for the vector of strings More... | |
typedef std::set< std::string > | Set |
for report: unconverted histograms 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 | 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... | |
Public Member Functions | |
PersistencySvc overrides | |
StatusCode | initialize () override |
Initialize the service. More... | |
StatusCode | reinitialize () override |
Reinitialize the service. More... | |
StatusCode | finalize () override |
Finalize the service. More... | |
StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) override |
Implementation of IConverter: Convert the transient object to the requested representation. More... | |
: Object implementation | |
HistogramPersistencySvc (const std::string &name, ISvcLocator *svc) | |
Standard Constructor. More... | |
~HistogramPersistencySvc () 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... | |
Protected Attributes | |
std::string | m_histPersName |
Name of the Hist Pers type. More... | |
std::string | m_outputFile |
Name of the outputFile. More... | |
Strings | m_convert |
the list of patterns to be converted More... | |
Strings | m_exclude |
the list of patterns to be excludes More... | |
Set | m_converted |
for the final report: the list of converted histograms More... | |
Set | m_excluded |
for the final report: the list of excluded histograms More... | |
bool | m_warnings |
Flag to disable warning messages when using external input. 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... | |
Additional Inherited Members | |
![]() | |
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... | |
HistogramPersistencySvc class implementation definition.
System: The LHCb Offline System
Package: HistogramPersistencySvc
Dependencies:
History:
+---------+----------------------------------------------+---------+ | Date | Comment | Who | +---------+----------------------------------------------+---------+ | 3/11/98 | Initial version | M.Frank | +---------+----------------------------------------------+---------+
Definition at line 47 of file HistogramPersistencySvc.h.
typedef std::set<std::string> HistogramPersistencySvc::Set |
for report: unconverted histograms
Definition at line 75 of file HistogramPersistencySvc.h.
typedef std::vector<std::string> HistogramPersistencySvc::Strings |
the actual type for the vector of strings
Definition at line 73 of file HistogramPersistencySvc.h.
HistogramPersistencySvc::HistogramPersistencySvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Standard Constructor.
Definition at line 243 of file HistogramPersistencySvc.cpp.
|
overridedefault |
Standard Destructor.
|
override |
Implementation of IConverter: Convert the transient object to the requested representation.
Definition at line 208 of file HistogramPersistencySvc.cpp.
|
override |
Finalize the service.
Definition at line 58 of file HistogramPersistencySvc.cpp.
|
override |
Initialize the service.
Definition at line 89 of file HistogramPersistencySvc.cpp.
|
override |
Reinitialize the service.
Definition at line 99 of file HistogramPersistencySvc.cpp.
|
protected |
the list of patterns to be converted
Definition at line 83 of file HistogramPersistencySvc.h.
|
protected |
for the final report: the list of converted histograms
Definition at line 87 of file HistogramPersistencySvc.h.
|
protected |
the list of patterns to be excludes
Definition at line 85 of file HistogramPersistencySvc.h.
|
protected |
for the final report: the list of excluded histograms
Definition at line 89 of file HistogramPersistencySvc.h.
|
protected |
Name of the Hist Pers type.
Definition at line 79 of file HistogramPersistencySvc.h.
|
protected |
Name of the outputFile.
Definition at line 81 of file HistogramPersistencySvc.h.
|
protected |
Flag to disable warning messages when using external input.
Definition at line 91 of file HistogramPersistencySvc.h.