All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IJobOptionsSvc Class Referenceabstract

Main interface for the JobOptions service. More...

#include <GaudiKernel/IJobOptionsSvc.h>

Inheritance diagram for IJobOptionsSvc:
Collaboration diagram for IJobOptionsSvc:

Public Member Functions

 DeclareInterfaceID (IJobOptionsSvc, 4, 0)
 InterfaceID. More...
 
virtual StatusCode setMyProperties (const std::string &client, IProperty *me)=0
 Override default properties of the calling client. More...
 
virtual StatusCode addPropertyToCatalogue (const std::string &client, const Property &property)=0
 Add a property into the JobOptions catalog. More...
 
virtual StatusCode removePropertyFromCatalogue (const std::string &client, const std::string &name)=0
 Remove a property from the JobOptions catalog. More...
 
virtual const std::vector
< const Property * > * 
getProperties (const std::string &client) const =0
 Get the properties associated to a given client. More...
 
virtual std::vector< std::string > getClients () const =0
 Get the list of clients. More...
 
virtual StatusCode readOptions (const std::string &file, const std::string &path="")=0
 look for file 'File' into search path 'Path' and read it to update existing JobOptionsCatalogue More...
 
- Public Member Functions inherited from IInterface
virtual void * i_cast (const InterfaceID &) const =0
 main cast function More...
 
virtual std::vector< std::string > getInterfaceNames () const =0
 Returns a vector of strings containing the names of all the implemented interfaces. More...
 
virtual unsigned long addRef ()=0
 Increment the reference count of Interface instance. More...
 
virtual unsigned long release ()=0
 Release Interface instance. More...
 
virtual unsigned long refCount () const =0
 Current reference count. More...
 
virtual StatusCode queryInterface (const InterfaceID &ti, void **pp)=0
 Set the void** to the pointer to the requested interface of the instance. More...
 
virtual ~IInterface ()
 Virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from IInterface
enum  Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR }
 Return status. More...
 
typedef Gaudi::InterfaceId
< IInterface, 0, 0 > 
iid
 Interface ID. More...
 
typedef mpl::set1< iidext_iids
 Extra interfaces. More...
 
- Static Public Member Functions inherited from IInterface
static const InterfaceIDinterfaceID ()
 Return an instance of InterfaceID identifying the interface. More...
 

Detailed Description

Main interface for the JobOptions service.

Author
Pere Mato

Definition at line 21 of file IJobOptionsSvc.h.

Member Function Documentation

virtual StatusCode IJobOptionsSvc::addPropertyToCatalogue ( const std::string &  client,
const Property property 
)
pure virtual

Add a property into the JobOptions catalog.

Implemented in JobOptionsSvc.

IJobOptionsSvc::DeclareInterfaceID ( IJobOptionsSvc  ,
,
 
)
virtual std::vector<std::string> IJobOptionsSvc::getClients ( ) const
pure virtual

Get the list of clients.

Implemented in JobOptionsSvc.

virtual const std::vector<const Property*>* IJobOptionsSvc::getProperties ( const std::string &  client) const
pure virtual

Get the properties associated to a given client.

Implemented in JobOptionsSvc.

virtual StatusCode IJobOptionsSvc::readOptions ( const std::string &  file,
const std::string &  path = "" 
)
pure virtual

look for file 'File' into search path 'Path' and read it to update existing JobOptionsCatalogue

Parameters
Filefile name
Pathsearch path
Returns
status code

Implemented in JobOptionsSvc.

virtual StatusCode IJobOptionsSvc::removePropertyFromCatalogue ( const std::string &  client,
const std::string &  name 
)
pure virtual

Remove a property from the JobOptions catalog.

Implemented in JobOptionsSvc.

virtual StatusCode IJobOptionsSvc::setMyProperties ( const std::string &  client,
IProperty me 
)
pure virtual

Override default properties of the calling client.

Parameters
clientName of the client algorithm or service
meAddress of the interface IProperty of the client

Implemented in JobOptionsSvc.


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