The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
ServiceManager::ServiceItem Struct Referencefinal

#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/ApplicationMgr/ServiceManager.h>

Collaboration diagram for ServiceManager::ServiceItem:

Public Member Functions

 ServiceItem (IService *s, int p=0, bool act=false)
 
bool operator== (std::string_view name) const
 
bool operator== (const IService *ptr) const
 
bool operator< (const ServiceItem &rhs) const
 

Public Attributes

SmartIF< IServiceservice
 
int priority
 
bool active
 

Detailed Description

Definition at line 42 of file ServiceManager.h.

Constructor & Destructor Documentation

◆ ServiceItem()

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

Definition at line 43 of file ServiceManager.h.

Member Function Documentation

◆ operator<()

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

Definition at line 49 of file ServiceManager.h.

49{ return priority < rhs.priority; }

◆ operator==() [1/2]

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

Definition at line 48 of file ServiceManager.h.

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

◆ operator==() [2/2]

bool ServiceManager::ServiceItem::operator== ( std::string_view name) const
inline

Definition at line 47 of file ServiceManager.h.

47{ return service->name() == name; }
const std::string & name() const override
Return the name of the manager (implementation of INamedInterface)

Member Data Documentation

◆ active

bool ServiceManager::ServiceItem::active

Definition at line 46 of file ServiceManager.h.

◆ priority

int ServiceManager::ServiceItem::priority

Definition at line 45 of file ServiceManager.h.

◆ service

SmartIF<IService> ServiceManager::ServiceItem::service

Definition at line 44 of file ServiceManager.h.


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