#include <GiGaCnvSvcBase.h>
Inheritance diagram for GiGaCnvSvcBase:
Public Types | |
typedef std::vector< GiGaLeaf > | Leaves |
CONVERSIONSVC_NO_ERROR | |
NO_CONVERTER | |
INVALID_ADDRESS | |
INVALID_OBJECT | |
NO_MEMORY | |
BAD_STORAGE_TYPE | |
NO_SOURCE_OBJECT | |
ICONVERSIONSVC_LAST_ERROR | |
SUCCESS | |
SUCCESS | |
NO_INTERFACE | |
NO_INTERFACE | |
VERSMISMATCH | |
VERSMISMATCH | |
LAST_ERROR | |
LAST_ERROR | |
enum | Status |
enum | Status |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
enum | Status |
typedef std::vector< WorkerEntry > | Workers |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
CONVERSIONSVC_NO_ERROR | |
NO_CONVERTER | |
INVALID_ADDRESS | |
INVALID_OBJECT | |
NO_MEMORY | |
BAD_STORAGE_TYPE | |
NO_SOURCE_OBJECT | |
ICONVERSIONSVC_LAST_ERROR | |
enum | Status |
Public Member Functions | |
virtual StatusCode | initialize () |
standard initialization method | |
virtual StatusCode | finalize () |
standard finalization method | |
virtual StatusCode | queryInterface (const InterfaceID &, void **) |
virtual StatusCode | declareObject (const GiGaLeaf &Leaf) |
declare the object/converter to conversion service | |
virtual void | handle (const Incident &) |
virtual IGiGaSvc * | gigaSvc () const |
GiGa service (mandatory). | |
virtual IGiGaSetUpSvc * | setupSvc () const |
GiGaSetUp service (mandatory). | |
virtual StatusCode | registerGiGaLeaves () |
register all declared leaves | |
virtual StatusCode | createAddress (long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&address) |
Create a Generic address using explicit arguments to identify a single object. | |
virtual StatusCode | addConverter (IConverter *pConverter)=0 |
virtual StatusCode | addConverter (const CLID &clid)=0 |
virtual StatusCode | removeConverter (const CLID &clid)=0 |
virtual IConverter * | converter (const CLID &clid)=0 |
virtual StatusCode | connectOutput (const std::string &outputFile)=0 |
virtual StatusCode | connectOutput (const std::string &outputFile, const std::string &openMode)=0 |
virtual StatusCode | commitOutput (const std::string &outputFile, bool do_commit)=0 |
virtual const CLID & | objType () const =0 |
virtual long | repSvcType () const =0 |
virtual StatusCode | setDataProvider (IDataProviderSvc *pService)=0 |
virtual IDataProviderSvc * | dataProvider () const =0 |
virtual StatusCode | setConversionSvc (IConversionSvc *pService)=0 |
virtual IConversionSvc * | conversionSvc () const =0 |
virtual StatusCode | setAddressCreator (IAddressCreator *creator)=0 |
virtual IAddressCreator * | addressCreator () const =0 |
virtual StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject)=0 |
virtual StatusCode | fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject)=0 |
virtual StatusCode | updateObj (IOpaqueAddress *pAddress, DataObject *refpObject)=0 |
virtual StatusCode | updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject)=0 |
virtual StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress)=0 |
virtual StatusCode | fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject)=0 |
virtual StatusCode | updateRep (IOpaqueAddress *pAddress, DataObject *pObject)=0 |
virtual StatusCode | updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject)=0 |
virtual unsigned long | addRef ()=0 |
virtual unsigned long | addRef ()=0 |
virtual unsigned long | release ()=0 |
virtual unsigned long | release ()=0 |
virtual const InterfaceID & | type () const =0 |
virtual StatusCode | sysInitialize ()=0 |
virtual StatusCode | sysStart ()=0 |
virtual StatusCode | sysStop ()=0 |
virtual StatusCode | sysFinalize ()=0 |
virtual StatusCode | sysReinitialize ()=0 |
virtual StatusCode | sysRestart ()=0 |
virtual StatusCode | configure ()=0 |
virtual StatusCode | start ()=0 |
virtual StatusCode | stop ()=0 |
virtual StatusCode | terminate ()=0 |
virtual StatusCode | reinitialize ()=0 |
virtual StatusCode | restart ()=0 |
virtual Gaudi::StateMachine::State | FSMState () const =0 |
virtual Gaudi::StateMachine::State | targetFSMState () const =0 |
virtual const std::string & | name () const =0 |
virtual unsigned long | addRef ()=0 |
virtual unsigned long | release ()=0 |
virtual long | repSvcType () const |
const CLID & | objType () const |
virtual StatusCode | setDataProvider (IDataProviderSvc *pService) |
virtual IDataProviderSvc * | dataProvider () const |
virtual StatusCode | setConversionSvc (IConversionSvc *svc) |
virtual IConversionSvc * | conversionSvc () const |
virtual StatusCode | setAddressCreator (IAddressCreator *creator) |
virtual IAddressCreator * | addressCreator () const |
virtual StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) |
virtual StatusCode | fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
virtual StatusCode | updateObj (IOpaqueAddress *pAddress, DataObject *refpObject) |
virtual StatusCode | updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
virtual StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) |
virtual StatusCode | fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
virtual StatusCode | updateRep (IOpaqueAddress *pAddress, DataObject *pObject) |
virtual StatusCode | updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
virtual StatusCode | addConverter (const CLID &clid) |
virtual StatusCode | addConverter (IConverter *pConverter) |
virtual StatusCode | removeConverter (const CLID &clid) |
virtual IConverter * | converter (const CLID &wanted) |
virtual StatusCode | connectOutput (const std::string &outputFile, const std::string &openMode) |
virtual StatusCode | connectOutput (const std::string &output) |
virtual StatusCode | commitOutput (const std::string &output, bool do_commit) |
virtual StatusCode | createAddress (long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress) |
virtual StatusCode | convertAddress (const IOpaqueAddress *pAddress, std::string &refAddress) |
virtual StatusCode | updateServiceState (IOpaqueAddress *pAddress) |
virtual unsigned long | addRef () |
virtual unsigned long | release () |
virtual const std::string & | name () const |
virtual const InterfaceID & | type () const |
virtual StatusCode | configure () |
virtual StatusCode | start () |
virtual StatusCode | stop () |
virtual StatusCode | terminate () |
virtual Gaudi::StateMachine::State | FSMState () const |
virtual Gaudi::StateMachine::State | targetFSMState () const |
virtual StatusCode | reinitialize () |
virtual StatusCode | restart () |
virtual StatusCode | sysInitialize () |
virtual StatusCode | sysStart () |
virtual StatusCode | sysStop () |
virtual StatusCode | sysFinalize () |
virtual StatusCode | sysReinitialize () |
virtual StatusCode | sysRestart () |
virtual StatusCode | setProperty (const Property &p) |
virtual StatusCode | setProperty (const std::string &s) |
virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
StatusCode | setProperty (const std::string &name, const TYPE &value) |
virtual StatusCode | getProperty (Property *p) const |
virtual const Property & | getProperty (const std::string &name) const |
virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
virtual const std::vector< Property * > & | getProperties () const |
ISvcLocator * | serviceLocator () const |
IMessageSvc * | msgSvc () |
IMessageSvc * | msgSvc () const |
IMessageSvc * | messageService () |
IMessageSvc * | messageService () const |
StatusCode | setProperties () |
StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
IAuditorSvc * | auditorSvc () const |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
Retrieve unique interface ID. | |
static const InterfaceID & | interfaceID () |
static const InterfaceID & | interfaceID () |
Public Attributes | |
CONVERSIONSVC_NO_ERROR | |
NO_CONVERTER | |
Protected Member Functions | |
GiGaCnvSvcBase (const std::string &ServiceName, ISvcLocator *ServiceLocator, const unsigned int StorageType) | |
standard constructor | |
virtual | ~GiGaCnvSvcBase () |
virtual destructor | |
IDataProviderSvc * | dpSvc () const |
"main" data provider (mandatory) | |
IDataProviderSvc * | evtSvc () const |
event data provider (optional) | |
IDataProviderSvc * | detSvc () const |
detector data provider (optional) | |
IChronoStatSvc * | chronoSvc () const |
chrono service (optional) | |
IToolSvc * | toolSvc () const |
tool service (optional) | |
IIncidentSvc * | incSvc () const |
incident service | |
ISvcLocator * | svcLoc () const |
service locator | |
StatusCode | setNameOfDataProviderSvc (const std::string &Name) |
template<class TYPE> | |
TYPE * | get (IDataProviderSvc *svc, const std::string &location, const TYPE *) const |
templated access to the data in Gaudi transient store | |
template<class TOOL> | |
TOOL * | tool (const std::string &type, const std::string &name, TOOL *&Tool, const IInterface *parent=0, bool create=true) const |
the useful method for location of tools. | |
template<class TOOL> | |
TOOL * | tool (const std::string &type, TOOL *&Tool, const IInterface *parent=0, bool create=true) const |
the useful method for location of tools. | |
StatusCode | Error (const std::string &msg, const StatusCode &sc=StatusCode::FAILURE) const |
helpful method for error count and printout | |
StatusCode | Warning (const std::string &msg, const StatusCode &sc=StatusCode::FAILURE) const |
helpful method for warning count and printout | |
StatusCode | Print (const std::string &msg, const MSG::Level &lvl=MSG::INFO, const StatusCode &sc=StatusCode::FAILURE) const |
helpful method for printout | |
StatusCode | Assert (bool assertion, const std::string &msg="GiGaCnvSvcBase::unknown", const StatusCode &sc=StatusCode::FAILURE) const |
assertion | |
StatusCode | Assert (bool assertion, const char *msg, const StatusCode &sc=StatusCode::FAILURE) const |
assertion | |
StatusCode | Exception (const std::string &msg, const GaudiException &exc, const MSG::Level &lvl=MSG::FATAL, const StatusCode &sc=StatusCode::FAILURE) const |
exception handling | |
StatusCode | Exception (const std::string &msg, const std::exception &exc, const MSG::Level &lvl=MSG::FATAL, const StatusCode &sc=StatusCode::FAILURE) const |
exception handling | |
StatusCode | Exception (const std::string &msg, const MSG::Level &lvl=MSG::FATAL, const StatusCode &sc=StatusCode::FAILURE) const |
exception handling | |
virtual void | setServiceManager (ISvcManager *)=0 |
virtual IAddressCreator * | addressCreator () |
virtual IConverter * | createConverter (long typ, const CLID &clid, const ICnvFactory *fac) |
virtual StatusCode | configureConverter (long typ, const CLID &clid, IConverter *cnv) |
virtual StatusCode | initializeConverter (long typ, const CLID &clid, IConverter *cnv) |
virtual StatusCode | activateConverter (long typ, const CLID &clid, IConverter *cnv) |
virtual void | loadConverter (DataObject *pObject) |
StatusCode | makeCall (int typ, bool ignore_add, bool ignore_obj, bool update, IOpaqueAddress *&pAddress, DataObject *&pObject) |
int | outputLevel () const |
Protected Attributes | |
Leaves | m_leaves |
IDataProviderSvc * | m_dataSvc |
IAddressCreator * | m_addressCreator |
long | m_type |
Workers * | m_workers |
IntegerProperty | m_outputLevel |
Gaudi::StateMachine::State | m_state |
Gaudi::StateMachine::State | m_targetState |
IMessageSvc * | m_messageSvc |
Private Types | |
typedef std::map< std::string, unsigned int > | Counter |
Private Member Functions | |
GiGaCnvSvcBase () | |
no default constructor | |
GiGaCnvSvcBase (const GiGaCnvSvcBase &) | |
GiGaCnvSvcBase & | operator= (const GiGaCnvSvcBase &) |
Private Attributes | |
std::string | m_dpName |
IDataProviderSvc * | m_dpSvc |
std::string | m_evtName |
IDataProviderSvc * | m_evtSvc |
std::string | m_detName |
IDataProviderSvc * | m_detSvc |
std::string | m_gigaName |
IGiGaSvc * | m_gigaSvc |
std::string | m_setupName |
IGiGaSetUpSvc * | m_setupSvc |
std::string | m_chronoName |
IChronoStatSvc * | m_chronoSvc |
std::string | m_toolName |
IToolSvc * | m_toolSvc |
std::string | m_inName |
IIncidentSvc * | m_incSvc |
Counter | m_errors |
counter of errors | |
Counter | m_warnings |
counter of warning | |
Counter | m_exceptions |
counter of exceptions | |
Friends | |
friend class | ServiceManager |
Definition at line 45 of file GiGaCnvSvcBase.h.
typedef std::vector<GiGaLeaf> GiGaCnvSvcBase::Leaves |
Definition at line 51 of file GiGaCnvSvcBase.h.
typedef std::map<std::string,unsigned int> GiGaCnvSvcBase::Counter [private] |
Definition at line 436 of file GiGaCnvSvcBase.h.
GiGaCnvSvcBase::GiGaCnvSvcBase | ( | const std::string & | ServiceName, | |
ISvcLocator * | ServiceLocator, | |||
const unsigned int | StorageType | |||
) | [protected] |
standard constructor
ServiceName | service name | |
ServiceLocator | pointer to service locator | |
StorageType | storage type |
virtual GiGaCnvSvcBase::~GiGaCnvSvcBase | ( | ) | [protected, virtual] |
virtual destructor
GiGaCnvSvcBase::GiGaCnvSvcBase | ( | ) | [private] |
no default constructor
GiGaCnvSvcBase::GiGaCnvSvcBase | ( | const GiGaCnvSvcBase & | ) | [private] |
virtual StatusCode GiGaCnvSvcBase::initialize | ( | ) | [virtual] |
virtual StatusCode GiGaCnvSvcBase::finalize | ( | ) | [virtual] |
virtual StatusCode GiGaCnvSvcBase::queryInterface | ( | const InterfaceID & | , | |
void ** | ||||
) | [virtual] |
Reimplemented from ConversionSvc.
virtual StatusCode GiGaCnvSvcBase::declareObject | ( | const GiGaLeaf & | Leaf | ) | [virtual] |
declare the object/converter to conversion service
leaf | object/converter parametres |
Implements IGiGaCnvSvc.
virtual void GiGaCnvSvcBase::handle | ( | const Incident & | ) | [virtual] |
Implements IIncidentListener.
virtual IGiGaSvc* GiGaCnvSvcBase::gigaSvc | ( | ) | const [inline, virtual] |
GiGa service (mandatory).
Implements IGiGaCnvSvc.
Definition at line 86 of file GiGaCnvSvcBase.h.
00086 { 00087 if( m_gigaSvc == 0 ) { 00088 StatusCode status = serviceLocator()->service( m_gigaName, m_gigaSvc, 00089 true ); 00090 if( status.isFailure() ) { 00091 //FIXME Throw exception 00092 Error("Initialize::Could not locate IGiGaSvc=" + m_gigaName, status ); 00093 } 00094 if( 0 == gigaSvc() ) { 00095 Error("Initialize::Could not locate IGiGaSvc=" + m_gigaName ); 00096 } 00097 Print( " Located GiGa Service="+m_gigaName, MSG::VERBOSE ); 00098 } 00099 return m_gigaSvc; 00100 }
virtual IGiGaSetUpSvc* GiGaCnvSvcBase::setupSvc | ( | ) | const [inline, virtual] |
GiGaSetUp service (mandatory).
Implements IGiGaCnvSvc.
Definition at line 103 of file GiGaCnvSvcBase.h.
00103 { 00104 00105 if( m_setupSvc == 0 ) { 00106 StatusCode status = serviceLocator()->service( m_setupName, m_setupSvc, 00107 true ); 00108 if( status.isFailure() ){ 00109 Error("Initialize::Could not locate IGiGaSetUpSvc=" + 00110 m_setupName, status ); 00111 } 00112 if( 0 == setupSvc() ) { 00113 Error("Initialize::Could not locate IGiGaSetUpSvc=" + 00114 m_setupName ); 00115 } 00116 Print( " Located GiGa SetUp Service="+m_setupName, MSG::VERBOSE ); 00117 } 00118 return m_setupSvc; 00119 }
virtual StatusCode GiGaCnvSvcBase::registerGiGaLeaves | ( | ) | [virtual] |
virtual StatusCode GiGaCnvSvcBase::createAddress | ( | long | svc_type, | |
const CLID & | clid, | |||
const std::string * | par, | |||
const unsigned long * | ip, | |||
IOpaqueAddress *& | address | |||
) | [virtual] |
Create a Generic address using explicit arguments to identify a single object.
svc_type | Technology identifier encapsulated in this address. | |
clid | Class identifier of the DataObject represented by the opaque address | |
par | Array of strings needed to construct the opaque address. | |
ipar | Array of integers needed to construct the opaque address. | |
address | Reference to pointer to the address where the created Address should be stored. |
Reimplemented from ConversionSvc.
IDataProviderSvc* GiGaCnvSvcBase::dpSvc | ( | ) | const [inline, protected] |
"main" data provider (mandatory)
Definition at line 150 of file GiGaCnvSvcBase.h.
00150 { return m_dpSvc ; }
IDataProviderSvc* GiGaCnvSvcBase::evtSvc | ( | ) | const [inline, protected] |
event data provider (optional)
Definition at line 152 of file GiGaCnvSvcBase.h.
00152 { return m_evtSvc ; }
IDataProviderSvc* GiGaCnvSvcBase::detSvc | ( | ) | const [inline, protected] |
detector data provider (optional)
Definition at line 154 of file GiGaCnvSvcBase.h.
00154 { return m_detSvc ; }
IChronoStatSvc* GiGaCnvSvcBase::chronoSvc | ( | ) | const [inline, protected] |
chrono service (optional)
Definition at line 156 of file GiGaCnvSvcBase.h.
00156 { return m_chronoSvc ; }
IToolSvc* GiGaCnvSvcBase::toolSvc | ( | ) | const [inline, protected] |
tool service (optional)
Definition at line 158 of file GiGaCnvSvcBase.h.
00158 { return m_toolSvc ; }
IIncidentSvc* GiGaCnvSvcBase::incSvc | ( | ) | const [inline, protected] |
ISvcLocator* GiGaCnvSvcBase::svcLoc | ( | ) | const [inline, protected] |
StatusCode GiGaCnvSvcBase::setNameOfDataProviderSvc | ( | const std::string & | Name | ) | [inline, protected] |
Definition at line 164 of file GiGaCnvSvcBase.h.
00165 { m_dpName = Name ; return StatusCode::SUCCESS ; }
TYPE* GiGaCnvSvcBase::get | ( | IDataProviderSvc * | svc, | |
const std::string & | location, | |||
const TYPE * | ||||
) | const [inline, protected] |
templated access to the data in Gaudi transient store
Quick and safe access to the data in Gaudi transient store. The method located the data at given address and perform the debug printout about located data
Usage:
GiGaException | for Invalid Data Provider Service | |
GiGaException | for invalid/unavailable data |
svc | pointer to data service (data provider) | |
location | data location/address in Gaudi Transient Store | |
type | artificial algument (to please MicroSoft compiler) |
Definition at line 199 of file GiGaCnvSvcBase.h.
00202 { 00203 // check the environment 00204 Assert( 0 != svc , " get():: IDataProvider* points to NULL!" ); 00205 SmartDataPtr<TYPE> object( svc, location ) ; 00206 Assert( !(!object) , " get():: No valid data at '" + location + "'" ); 00207 TYPE* aux = object ; 00208 Assert( 0 != aux , " get():: No valid data at '" + location + "'" ); 00209 const std::string type( System::typeinfoName( typeid( *aux ) ) ); 00210 // debug printout 00211 // return located valid data 00212 Print( " The data from address '" + location + 00213 "' are retrieved from TS " , 00214 MSG::DEBUG , StatusCode::SUCCESS ) ; 00215 Print( " [ The actual data type is '" + type + 00216 "' ] " , 00217 MSG::VERBOSE , StatusCode::SUCCESS ) ; 00218 return aux ; 00219 };
TOOL* GiGaCnvSvcBase::tool | ( | const std::string & | type, | |
const std::string & | name, | |||
TOOL *& | Tool, | |||
const IInterface * | parent = 0 , |
|||
bool | create = true | |||
) | const [inline, protected] |
the useful method for location of tools.
for empty "name" delegates to another method
GiGaException | for invalid Tool Service | |
GiGaException | for error from Tool Service | |
GiGaException | for invalid tool |
type | tool type | |
name | tool name | |
Tool | tool itself (return) | |
parent | tool parent | |
create | flag for creation of nonexisting tools |
Definition at line 239 of file GiGaCnvSvcBase.h.
00244 { 00245 // for empty names delegate to another method 00246 if( name.empty() ) { return tool( type , Tool , parent , create ) ; } 00247 Assert( 0 != toolSvc() , "IToolSvc* points toNULL!" ); 00248 // get the tool from Tool Service 00249 StatusCode sc = toolSvc () 00250 -> retrieveTool ( type , name , Tool, parent , create ); 00251 Assert( sc.isSuccess() , 00252 "Could not retrieve Tool'" + type + "'/'" + name + "'", sc ) ; 00253 Assert( 0 != Tool , 00254 "Could not retrieve Tool'" + type + "'/'" + name + "'" ) ; 00255 // debug printout 00256 Print( " The Tool of type '" + Tool->type() + 00257 "'/'" + Tool->name() + 00258 "' is retrieved from IToolSvc " , MSG::DEBUG , sc ) ; 00259 // return located tool 00260 return Tool ; 00261 };
TOOL* GiGaCnvSvcBase::tool | ( | const std::string & | type, | |
TOOL *& | Tool, | |||
const IInterface * | parent = 0 , |
|||
bool | create = true | |||
) | const [inline, protected] |
the useful method for location of tools.
GiGaException | for invalid Tool Service | |
GiGaException | for error from Tool Service | |
GiGaException | for invalid tool |
type | tool type, could be of "Type/Name" format | |
Tool | tool itself (return) | |
parent | tool parent | |
create | flag for creation of nonexisting tools |
Definition at line 279 of file GiGaCnvSvcBase.h.
00283 { 00284 // check the environment 00285 Assert( 0 != toolSvc() , "IToolSvc* points toNULL!" ); 00286 // "type" or "type/name" ? 00287 std::string::const_iterator it = 00288 std::find( type.begin() , type.end () , '/' ); 00289 // "type" is compound! 00290 if( type.end() != it ) 00291 { 00292 std::string::size_type pos = it - type.begin() ; 00293 const std::string ntype( type , 0 , pos ); 00294 const std::string nname( type , pos + 1 , std::string::npos ); 00295 return tool( ntype , // new type 00296 nname , // new name 00297 Tool , parent , create ) ; 00298 } 00299 // retrieve the tool from Tool Service 00300 StatusCode sc = toolSvc () 00301 -> retrieveTool ( type , Tool, parent , create ); 00302 Assert( sc.isSuccess() , "Could not retrieve Tool'" + type + "'" , sc ) ; 00303 Assert( 0 != Tool , "Could not retrieve Tool'" + type + "'" ) ; 00304 // debug printout 00305 Print( " The Tool of type '" + Tool->type() + 00306 "'/'" + Tool->name() + 00307 "' is retrieved from IToolSvc " , MSG::DEBUG , sc ) ; 00308 // return located tool 00309 return Tool ; 00310 };
StatusCode GiGaCnvSvcBase::Error | ( | const std::string & | msg, | |
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [protected] |
helpful method for error count and printout
msg | message to be printed | |
sc | status code to be returned |
StatusCode GiGaCnvSvcBase::Warning | ( | const std::string & | msg, | |
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [protected] |
helpful method for warning count and printout
msg | message to be printed | |
sc | status code to be returned |
StatusCode GiGaCnvSvcBase::Print | ( | const std::string & | msg, | |
const MSG::Level & | lvl = MSG::INFO , |
|||
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [protected] |
helpful method for printout
msg | message to be printed | |
lvl | printout level | |
sc | status code to be returned |
StatusCode GiGaCnvSvcBase::Assert | ( | bool | assertion, | |
const std::string & | msg = "GiGaCnvSvcBase::unknown" , |
|||
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [inline, protected] |
assertion
assertion | assertion condition | |
msg | assertion message | |
sc | assertion status code |
Definition at line 453 of file GiGaCnvSvcBase.h.
00456 { 00457 StatusCode status = StatusCode::SUCCESS ; 00458 return (assertion) ? status : Exception( msg , MSG::FATAL , sc ) ; 00459 };
StatusCode GiGaCnvSvcBase::Assert | ( | bool | assertion, | |
const char * | msg, | |||
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [inline, protected] |
assertion
assertion | assertion condition | |
msg | assertion message | |
sc | assertion status code |
Definition at line 470 of file GiGaCnvSvcBase.h.
00473 { 00474 StatusCode status = StatusCode::SUCCESS ; 00475 return (assertion) ? status : Exception( msg , MSG::FATAL , sc ) ; 00476 };
StatusCode GiGaCnvSvcBase::Exception | ( | const std::string & | msg, | |
const GaudiException & | exc, | |||
const MSG::Level & | lvl = MSG::FATAL , |
|||
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [protected] |
exception handling
msg | message to be assosiated with the exception | |
exc | "previous" exception | |
lvl | printout level | |
sc | status code to be "returned" (fictive) |
StatusCode GiGaCnvSvcBase::Exception | ( | const std::string & | msg, | |
const std::exception & | exc, | |||
const MSG::Level & | lvl = MSG::FATAL , |
|||
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [protected] |
exception handling
msg | message to be assosiated with the exception | |
exc | "previous" exception | |
lvl | printout level | |
sc | status code to be "returned" (fictive) |
StatusCode GiGaCnvSvcBase::Exception | ( | const std::string & | msg, | |
const MSG::Level & | lvl = MSG::FATAL , |
|||
const StatusCode & | sc = StatusCode::FAILURE | |||
) | const [protected] |
exception handling
msg | message to be assosiated with the exception | |
lvl | printout level | |
sc | status code to be "returned" (fictive) |
GiGaCnvSvcBase& GiGaCnvSvcBase::operator= | ( | const GiGaCnvSvcBase & | ) | [private] |
static const InterfaceID& IGiGaCnvSvc::interfaceID | ( | ) | [static, inherited] |
Retrieve unique interface ID.
Reimplemented from IConversionSvc.
Reimplemented in IGiGaGeomCnvSvc, IGiGaHitsCnvSvc, and IGiGaKineCnvSvc.
Leaves GiGaCnvSvcBase::m_leaves [protected] |
Definition at line 408 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_dpName [private] |
Definition at line 412 of file GiGaCnvSvcBase.h.
IDataProviderSvc* GiGaCnvSvcBase::m_dpSvc [private] |
Definition at line 413 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_evtName [private] |
Definition at line 415 of file GiGaCnvSvcBase.h.
IDataProviderSvc* GiGaCnvSvcBase::m_evtSvc [private] |
Definition at line 416 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_detName [private] |
Definition at line 418 of file GiGaCnvSvcBase.h.
IDataProviderSvc* GiGaCnvSvcBase::m_detSvc [private] |
Definition at line 419 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_gigaName [private] |
Definition at line 421 of file GiGaCnvSvcBase.h.
IGiGaSvc* GiGaCnvSvcBase::m_gigaSvc [mutable, private] |
Definition at line 422 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_setupName [private] |
Definition at line 424 of file GiGaCnvSvcBase.h.
IGiGaSetUpSvc* GiGaCnvSvcBase::m_setupSvc [mutable, private] |
Definition at line 425 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_chronoName [private] |
Definition at line 427 of file GiGaCnvSvcBase.h.
IChronoStatSvc* GiGaCnvSvcBase::m_chronoSvc [private] |
Definition at line 428 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_toolName [private] |
Definition at line 430 of file GiGaCnvSvcBase.h.
IToolSvc* GiGaCnvSvcBase::m_toolSvc [private] |
Definition at line 431 of file GiGaCnvSvcBase.h.
std::string GiGaCnvSvcBase::m_inName [private] |
Definition at line 433 of file GiGaCnvSvcBase.h.
IIncidentSvc* GiGaCnvSvcBase::m_incSvc [private] |
Definition at line 434 of file GiGaCnvSvcBase.h.
Counter GiGaCnvSvcBase::m_errors [mutable, private] |
Counter GiGaCnvSvcBase::m_warnings [mutable, private] |
Counter GiGaCnvSvcBase::m_exceptions [mutable, private] |