Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

McCnvSvc Class Reference

#include <McCnvSvc.h>

List of all members.

McCnvSvc overrides

virtual StatusCode finalize ()
virtual StatusCode initialize ()
 Initialize the service.
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.
unsigned char storageType ()
 storage type

McCnvSvc overrides

virtual StatusCode finalize ()
virtual StatusCode initialize ()
 Initialize the service.
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.
unsigned char storageType ()
 storage type

McCnvSvc overrides

 McCnvSvc (const std::string &name, ISvcLocator *svc)
 Standard Constructor.
virtual ~McCnvSvc ()
 Standard Destructor.
McEvtSelector * m_evtsel
 access to the EventSelector

McCnvSvc overrides

 McCnvSvc (const std::string &name, ISvcLocator *svc)
 Standard Constructor.
virtual ~McCnvSvc ()
 Standard Destructor.
McEvtSelector * m_evtsel
 access to the EventSelector

Friends

class SvcFactory<McCnvSvc>
 Allow the factory class access to the constructor.


Constructor & Destructor Documentation

McCnvSvc::McCnvSvc const std::string &  name,
ISvcLocator *  svc
[protected]
 

Standard Constructor.

: Object implementation

00035 : ConversionSvc( name, svc, storageType())
00036 {
00037 }

McCnvSvc::~McCnvSvc  )  [protected, virtual]
 

Standard Destructor.

00040                       {
00041 }

McCnvSvc::McCnvSvc const std::string &  name,
ISvcLocator *  svc
[protected]
 

Standard Constructor.

: Object implementation

virtual McCnvSvc::~McCnvSvc  )  [protected, virtual]
 

Standard Destructor.


Member Function Documentation

virtual StatusCode McCnvSvc::finalize  )  [virtual]
 

StatusCode McCnvSvc::finalize  )  [virtual]
 

00050                                   {
00051   MsgStream log(msgSvc(), name());
00052   log << MSG::DEBUG << "RootCnvSvc::finalize" << endreq;
00053 
00054   ConversionSvc::finalize();
00055  
00056   return StatusCode::SUCCESS;
00057 }

virtual StatusCode McCnvSvc::initialize  )  [virtual]
 

Initialize the service.

StatusCode McCnvSvc::initialize  )  [virtual]
 

Initialize the service.

00044                                     {
00045    MsgStream log(msgSvc(), name());
00046   StatusCode status = ConversionSvc::initialize();
00047   return status;
00048 }

virtual StatusCode McCnvSvc::queryInterface const InterfaceID &  riid,
void **  ppvInterface
[virtual]
 

Override inherited queryInterface due to enhanced interface.

StatusCode McCnvSvc::queryInterface const InterfaceID &  riid,
void **  ppvInterface
[virtual]
 

Override inherited queryInterface due to enhanced interface.

00059                                                                                  {
00060 
00061   if ( IID_IMcCnvSvc == riid )  {
00062     *ppvInterface = (McCnvSvc*)this;
00063   }
00064   else  {
00065     // Interface is not directly availible: try out a base class
00066     return ConversionSvc::queryInterface(riid, ppvInterface);
00067             }
00068   addRef();
00069   return StatusCode::SUCCESS;
00070 }

unsigned char McCnvSvc::storageType  )  [static]
 

storage type

unsigned char McCnvSvc::storageType  )  [static]
 

storage type

00090                                      {
00091   static unsigned char type=0x10;
00092   return type;
00093 }

virtual StatusCode McCnvSvc::updateServiceState IOpaqueAddress *  pAddress  )  [virtual]
 

Update state of the service.

StatusCode McCnvSvc::updateServiceState IOpaqueAddress *  pAddress  )  [virtual]
 

Update state of the service.

00073                                                                    {
00074   MsgStream log(messageService(), name());
00075   static bool first = true;
00076   //  static int fid   = 0;
00077   //  static int recid = 0;
00078   if ( 0 != pAddress )    {
00079     GenericAddress* pAddr = dynamic_cast<GenericAddress*>(pAddress);
00080     if ( 0 != pAddr )    {
00081       if ( first )    {
00082         first = false;
00083       }
00084       return StatusCode::SUCCESS;
00085     }
00086   }
00087   return StatusCode::FAILURE;
00088 }


Friends And Related Function Documentation

SvcFactory<McCnvSvc> [friend]
 

Allow the factory class access to the constructor.


Member Data Documentation

McEvtSelector* McCnvSvc::m_evtsel [private]
 

access to the EventSelector

McEvtSelector* McCnvSvc::m_evtsel [private]
 

access to the EventSelector


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:22:13 2011 for BOSS6.5.5 by  doxygen 1.3.9.1