ATLAS Offline Software
Loading...
Searching...
No Matches
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.
virtual ~McCnvSvc ()
 Standard Destructor.

Friends

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

McCnvSvc overrides

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

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{ }
virtual long repSvcType() const
Definition McCnvSvc.cxx:51

◆ ~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 {
37 StatusCode status = ConversionSvc::initialize();
38 return status;
39}
::StatusCode StatusCode
StatusCode definition for legacy code.
status
Definition merge.py:16

◆ repSvcType()

long McCnvSvc::repSvcType ( ) const
virtual

Definition at line 51 of file McCnvSvc.cxx.

51 {
52 return storageType();
53}
static long storageType()
storage type
Definition McCnvSvc.cxx:56

◆ 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}
#define ATH_CHECK
Evaluate an expression and check for errors.

◆ 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: