#include <McCnvSvc.h>
|
| McCnvSvc (const std::string &name, ISvcLocator *svc) |
| Standard Constructor.
|
|
virtual | ~McCnvSvc () |
| Standard Destructor.
|
|
| McCnvSvc (const std::string &name, ISvcLocator *svc) |
| Standard Constructor.
|
|
virtual | ~McCnvSvc () |
| Standard Destructor.
|
|
|
virtual StatusCode | initialize () |
| Initialize the service.
|
|
virtual StatusCode | finalize () |
|
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
| Override inherited queryInterface due to enhanced interface.
|
|
virtual StatusCode | updateServiceState (IOpaqueAddress *pAddress) |
| Update state of the service.
|
|
virtual StatusCode | initialize () |
| Initialize the service.
|
|
virtual StatusCode | finalize () |
|
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
| Override inherited queryInterface due to enhanced interface.
|
|
virtual StatusCode | updateServiceState (IOpaqueAddress *pAddress) |
| Update state of the service.
|
|
static unsigned char | storageType () |
| storage type
|
|
static unsigned char | storageType () |
| storage type
|
|
◆ McCnvSvc() [1/2]
McCnvSvc::McCnvSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svc |
|
) |
| |
|
protected |
Standard Constructor.
Standard constructor.
Definition at line 34 of file McCnvSvc.cxx.
36{
37}
static unsigned char storageType()
storage type
◆ ~McCnvSvc() [1/2]
◆ McCnvSvc() [2/2]
McCnvSvc::McCnvSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svc |
|
) |
| |
|
protected |
◆ ~McCnvSvc() [2/2]
virtual McCnvSvc::~McCnvSvc |
( |
| ) |
|
|
protectedvirtual |
◆ finalize() [1/2]
StatusCode McCnvSvc::finalize |
( |
| ) |
|
|
virtual |
Definition at line 50 of file McCnvSvc.cxx.
50 {
51 MsgStream log(
msgSvc(), name());
52 log << MSG::DEBUG << "RootCnvSvc::finalize" << endreq;
53
54 ConversionSvc::finalize();
55
56 return StatusCode::SUCCESS;
57}
◆ finalize() [2/2]
virtual StatusCode McCnvSvc::finalize |
( |
| ) |
|
|
virtual |
◆ initialize() [1/2]
StatusCode McCnvSvc::initialize |
( |
| ) |
|
|
virtual |
Initialize the service.
Definition at line 44 of file McCnvSvc.cxx.
44 {
45 MsgStream log(
msgSvc(), name());
46 StatusCode status = ConversionSvc::initialize();
47 return status;
48}
◆ initialize() [2/2]
virtual StatusCode McCnvSvc::initialize |
( |
| ) |
|
|
virtual |
◆ queryInterface() [1/2]
StatusCode McCnvSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvInterface |
|
) |
| |
|
virtual |
Override inherited queryInterface due to enhanced interface.
Definition at line 59 of file McCnvSvc.cxx.
59 {
60
61 if ( IID_IMcCnvSvc == riid ) {
63 }
64 else {
65
66 return ConversionSvc::queryInterface(riid, ppvInterface);
67 }
68 addRef();
69 return StatusCode::SUCCESS;
70}
◆ queryInterface() [2/2]
virtual StatusCode McCnvSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvInterface |
|
) |
| |
|
virtual |
Override inherited queryInterface due to enhanced interface.
◆ storageType() [1/2]
unsigned char McCnvSvc::storageType |
( |
| ) |
|
|
static |
◆ storageType() [2/2]
static unsigned char McCnvSvc::storageType |
( |
| ) |
|
|
static |
◆ updateServiceState() [1/2]
StatusCode McCnvSvc::updateServiceState |
( |
IOpaqueAddress * |
pAddress | ) |
|
|
virtual |
Update state of the service.
Definition at line 73 of file McCnvSvc.cxx.
73 {
74 MsgStream log(messageService(), name());
75 static bool first =
true;
76
77
78 if ( 0 != pAddress ) {
79 GenericAddress* pAddr = dynamic_cast<GenericAddress*>(pAddress);
80 if ( 0 != pAddr ) {
81 if ( first ) {
83 }
84 return StatusCode::SUCCESS;
85 }
86 }
87 return StatusCode::FAILURE;
88}
◆ updateServiceState() [2/2]
virtual StatusCode McCnvSvc::updateServiceState |
( |
IOpaqueAddress * |
pAddress | ) |
|
|
virtual |
Update state of the service.
◆ SvcFactory< McCnvSvc >
The documentation for this class was generated from the following files: