![]() |
The Gaudi Framework
v26r4
|
#include <src/JobOptionsSvc/JobOptionsSvc.h>
Public Types | |
typedef std::vector< const Property * > | PropertiesT |
![]() | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
Typedef to the base of this class. More... | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
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 | |
JobOptionsSvc (const std::string &name, ISvcLocator *svc) | |
~JobOptionsSvc () override=default | |
destructor More... | |
StatusCode | initialize () override |
StatusCode | setMyProperties (const std::string &client, IProperty *me) override |
Override default properties of the calling client. More... | |
StatusCode | addPropertyToCatalogue (const std::string &client, const Property &property) override |
Add a property into the JobOptions catalog. More... | |
StatusCode | removePropertyFromCatalogue (const std::string &client, const std::string &name) override |
Remove a property from the JobOptions catalog. More... | |
const std::vector< const Property * > * | getProperties (const std::string &client) const override |
Get the properties associated to a given client. More... | |
std::vector< std::string > | getClients () const override |
Get the list of clients. More... | |
StatusCode | readOptions (const std::string &file, const std::string &path="") override |
look for file 'file' into search path 'path' and read it to update existing JobOptionsCatalogue More... | |
StatusCode | setProperty (const Property &p) |
IProperty implementation (needed for initialisation) More... | |
StatusCode | getProperty (Property *p) const |
![]() | |
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... | |
Private Member Functions | |
void | fillServiceCatalog (const Gaudi::Parsers::Catalog &catalog) |
void | dump (const std::string &file, const Gaudi::Parsers::Catalog &catalog) const |
Private Attributes | |
PropertyMgr | m_pmgr |
dump the content of Properties catalog to the predefined file More... | |
std::string | m_source_path |
std::string | m_source_type |
std::string | m_dir_search_path |
std::string | m_dump |
SvcCatalog | m_svc_catalog |
Definition at line 20 of file JobOptionsSvc.h.
typedef std::vector<const Property*> JobOptionsSvc::PropertiesT |
Definition at line 22 of file JobOptionsSvc.h.
JobOptionsSvc::JobOptionsSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Definition at line 26 of file JobOptionsSvc.cpp.
|
overridedefault |
destructor
|
override |
Add a property into the JobOptions catalog.
Definition at line 68 of file JobOptionsSvc.cpp.
|
private |
Definition at line 123 of file JobOptionsSvc.cpp.
|
private |
Definition at line 140 of file JobOptionsSvc.cpp.
|
override |
|
override |
Get the properties associated to a given client.
Definition at line 85 of file JobOptionsSvc.cpp.
StatusCode JobOptionsSvc::getProperty | ( | Property * | p | ) | const |
Definition at line 47 of file JobOptionsSvc.cpp.
|
override |
Definition at line 52 of file JobOptionsSvc.cpp.
|
override |
look for file 'file' into search path 'path' and read it to update existing JobOptionsCatalogue
file | file name |
path | search path |
Definition at line 150 of file JobOptionsSvc.cpp.
|
override |
Remove a property from the JobOptions catalog.
Definition at line 78 of file JobOptionsSvc.cpp.
|
override |
Override default properties of the calling client.
client | Name of the client algorithm or service |
me | Address of the interface IProperty of the client |
Definition at line 90 of file JobOptionsSvc.cpp.
StatusCode JobOptionsSvc::setProperty | ( | const Property & | p | ) |
IProperty implementation (needed for initialisation)
Definition at line 42 of file JobOptionsSvc.cpp.
|
private |
Definition at line 76 of file JobOptionsSvc.h.
|
private |
Definition at line 77 of file JobOptionsSvc.h.
|
private |
dump the content of Properties catalog to the predefined file
Definition at line 73 of file JobOptionsSvc.h.
|
private |
Definition at line 74 of file JobOptionsSvc.h.
|
private |
Definition at line 75 of file JobOptionsSvc.h.
|
private |
Definition at line 78 of file JobOptionsSvc.h.