| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Public Member Functions | Public Attributes

# ServiceManager::ServiceItem Struct Reference

`#include <ServiceManager.h>`

Collaboration diagram for ServiceManager::ServiceItem:
[legend]

List of all members.

## 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 40 of file ServiceManager.h.

## Constructor & Destructor Documentation

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

Definition at line 41 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 52 of file ServiceManager.h.

                                                            {
          return priority < rhs.priority;
        }

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

Definition at line 46 of file ServiceManager.h.

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

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

Definition at line 49 of file ServiceManager.h.

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

## Member Data Documentation

bool ServiceManager::ServiceItem::active

Definition at line 45 of file ServiceManager.h.

long ServiceManager::ServiceItem::priority

Definition at line 44 of file ServiceManager.h.

SmartIF<IService> ServiceManager::ServiceItem::service

Definition at line 43 of file ServiceManager.h.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines