ATLAS Offline Software
Friends | List of all members
McCnvSvc Class Reference

#include <McCnvSvc.h>

Inheritance diagram for McCnvSvc:
Collaboration diagram for McCnvSvc:

Public Member Functions

: Object implementation


 McCnvSvc (const std::string &name, ISvcLocator *svc)
 Standard Constructor. More...
 
virtual ~McCnvSvc ()
 Standard Destructor. More...
 

Friends

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

McCnvSvc overrides


virtual StatusCode initialize ()
 Initialize the service. More...
 
virtual StatusCode updateServiceState (IOpaqueAddress *pAddress)
 Update state of the service. More...
 
virtual long repSvcType () const
 
static long storageType ()
 storage type More...
 

Detailed Description

Definition at line 22 of file McCnvSvc.h.

Constructor & Destructor Documentation

◆ McCnvSvc()

McCnvSvc::McCnvSvc ( const std::string &  name,
ISvcLocator *  svc 
)

Standard Constructor.

Standard constructor.

Definition at line 27 of file McCnvSvc.cxx.

28  : ConversionSvc( name, svc, repSvcType())
29 { }

◆ ~McCnvSvc()

McCnvSvc::~McCnvSvc ( )
virtual

Standard Destructor.

Definition at line 32 of file McCnvSvc.cxx.

32  {
33 }

Member Function Documentation

◆ initialize()

StatusCode McCnvSvc::initialize ( )
virtual

Initialize the service.

Definition at line 36 of file McCnvSvc.cxx.

36  {
38  return status;
39 }

◆ repSvcType()

long McCnvSvc::repSvcType ( ) const
virtual

Definition at line 51 of file McCnvSvc.cxx.

51  {
52  return storageType();
53 }

◆ storageType()

long McCnvSvc::storageType ( )
static

storage type

Definition at line 56 of file McCnvSvc.cxx.

56  {
57  return 0x10;
58 }

◆ updateServiceState()

StatusCode McCnvSvc::updateServiceState ( IOpaqueAddress *  pAddress)
virtual

Update state of the service.

Definition at line 42 of file McCnvSvc.cxx.

42  {
43  if ( pAddress != nullptr) {
44  ATH_CHECK( dynamic_cast<GenericAddress*>(pAddress)!=nullptr );
45  return StatusCode::SUCCESS;
46  }
47  return StatusCode::FAILURE;
48 }

Friends And Related Function Documentation

◆ SvcFactory< McCnvSvc >

friend class SvcFactory< McCnvSvc >
friend

Allow the factory class access to the constructor.

Definition at line 1 of file McCnvSvc.h.


The documentation for this class was generated from the following files:
initialize
void initialize()
Definition: run_EoverP.cxx:894
McCnvSvc::storageType
static long storageType()
storage type
Definition: McCnvSvc.cxx:56
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
McCnvSvc::repSvcType
virtual long repSvcType() const
Definition: McCnvSvc.cxx:51
merge.status
status
Definition: merge.py:17