| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

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 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_v22r4/GaudiSvc/src/ApplicationMgr/ServiceManager.h

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