#include <FluxSvc.h>
Inheritance diagram for FluxSvc:

Public Methods | |
| StatusCode | source (std::string name, IFlux*&) |
| return pointer to a flux object. More... | |
| std::list<std::string> | fluxNames () const |
| return a list of possible names. More... | |
| virtual void | addFactory (std::string name, const ISpectrumFactory* factory ) |
| add a new source. More... | |
| virtual HepRandomEngine* | getEngine () |
| access to the local random engine (testing). More... | |
| virtual StatusCode | initialize () |
| perform initializations for this service. More... | |
| virtual StatusCode | finalize () |
| perform the finalization, as required for a service. More... | |
| virtual StatusCode | queryInterface ( const IID& riid, void** ppvUnknown ) |
| Query interface. More... | |
Protected Methods | |
| FluxSvc ( const std::string& name, ISvcLocator* al ) | |
| Standard Constructor. More... | |
| virtual | ~FluxSvc () |
| destructor. More... | |
Private Attributes | |
| FluxMgr* | m_fluxMgr |
| std::vector<std::string> | m_source_lib |
| the user-defined list of acceptable XML sources (from JobOptions.txt). More... | |
| std::string | m_source_lib_default |
| the default XML file name (from JobOptions.txt). More... | |
Friends | |
| class | SvcFactory< FluxSvc > |
Definition at line 21 of file FluxSvc.h.
|
|
Standard Constructor.
Definition at line 43 of file FluxSvc.cxx. |
|
|
destructor.
Definition at line 72 of file FluxSvc.cxx. |
|
|
add a new source.
Reimplemented from IFluxSvc. Definition at line 130 of file FluxSvc.cxx. |
|
|
perform the finalization, as required for a service.
Definition at line 108 of file FluxSvc.cxx. |
|
|
return a list of possible names.
Reimplemented from IFluxSvc. Definition at line 52 of file FluxSvc.cxx. Referenced by source(). |
|
|
access to the local random engine (testing).
Reimplemented from IFluxSvc. Definition at line 135 of file FluxSvc.cxx. |
|
|
perform initializations for this service.
Definition at line 78 of file FluxSvc.cxx. |
|
|
Query interface.
Definition at line 117 of file FluxSvc.cxx. |
|
|
return pointer to a flux object.
Reimplemented from IFluxSvc. Definition at line 56 of file FluxSvc.cxx. |
|
|
Allow SvcFactory to instantiate the service.
|
|
|
|
|
|
the user-defined list of acceptable XML sources (from JobOptions.txt).
|
|
|
the default XML file name (from JobOptions.txt).
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000