| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
ServiceManager::ServiceItem Struct Referencefinal

`#include <src/ApplicationMgr/ServiceManager.h>`

Collaboration diagram for ServiceManager::ServiceItem:
[legend]

## Public Member Functions
| ServiceItem (IService *s, long p=0, bool act=false)
bool | operator== (const std::string &name) const
bool | operator== (const IService *ptr) const
bool | operator< (const ServiceItem &rhs) const

## Public Attributes
SmartIF< IService > | service
long | priority
bool | active

## Detailed Description

Definition at line 41 of file ServiceManager.h.

## Constructor & Destructor Documentation

ServiceManager::ServiceItem::ServiceItem | ( | IService * | s,
|  | long | p = `0`,
|  | bool | act = `false`
| ) |  |
| inline

Definition at line 42 of file ServiceManager.h.

42 :
43 service(s), priority(p), active(act) {}
ServiceManager::ServiceItem::priority
long priority
Definition: ServiceManager.h:45
ServiceManager::ServiceItem::active
bool active
Definition: ServiceManager.h:46
ServiceManager::ServiceItem::service
SmartIF< IService > service
Definition: ServiceManager.h:44

## Member Function Documentation

bool ServiceManager::ServiceItem::operator< | ( | const ServiceItem & | rhs | ) | const
| inline

Definition at line 53 of file ServiceManager.h.

53 {
54 return priority < rhs.priority;
55 }
ServiceManager::ServiceItem::priority
long priority
Definition: ServiceManager.h:45

bool ServiceManager::ServiceItem::operator== | ( | const std::string & | name | ) | const
| inline

Definition at line 47 of file ServiceManager.h.

47 {
48 return service->name() == name;
49 }
ServiceManager::name
const std::string & name() const override
Return the name of the manager (implementation of INamedInterface)
Definition: ServiceManager.h:122
ServiceManager::ServiceItem::service
SmartIF< IService > service
Definition: ServiceManager.h:44

bool ServiceManager::ServiceItem::operator== | ( | const IService * | ptr | ) | const
| inline

Definition at line 50 of file ServiceManager.h.

50 {
51 return service.get() == ptr;
52 }
SmartIF::get
TYPE * get() const
Get interface pointer.
Definition: SmartIF.h:76
ServiceManager::ServiceItem::service
SmartIF< IService > service
Definition: ServiceManager.h:44

## Member Data Documentation

bool ServiceManager::ServiceItem::active

Definition at line 46 of file ServiceManager.h.

long ServiceManager::ServiceItem::priority

Definition at line 45 of file ServiceManager.h.

SmartIF<IService> ServiceManager::ServiceItem::service

Definition at line 44 of file ServiceManager.h.

The documentation for this struct was generated from the following file:

- GaudiCoreSvc/src/ApplicationMgr/ServiceManager.h