| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ServiceManager::ServiceItem Struct Reference

`#include <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 39 of file ServiceManager.h.

## Constructor & Destructor Documentation

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

Definition at line 40 of file ServiceManager.h.

:
service(s), priority(p), active(act) {}

## Member Function Documentation

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

Definition at line 51 of file ServiceManager.h.

{
return priority < rhs.priority;
}

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

Definition at line 45 of file ServiceManager.h.

{
return service->name() == name;
}

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

Definition at line 48 of file ServiceManager.h.

{
return service.get() == ptr;
}

## Member Data Documentation

bool ServiceManager::ServiceItem::active

Definition at line 44 of file ServiceManager.h.

long ServiceManager::ServiceItem::priority

Definition at line 43 of file ServiceManager.h.

SmartIF<IService> ServiceManager::ServiceItem::service

Definition at line 42 of file ServiceManager.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiCoreSvc/src/ApplicationMgr/ServiceManager.h