algorithms  2.2.0
Framework-independent algorithms for the EIC
Loading...
Searching...
No Matches
algorithms::Service< SvcType > Class Template Reference

#include <algorithms/service.h>

Inheritance diagram for algorithms::Service< SvcType >:
[legend]

Public Member Functions

 Service (std::string_view name)
Public Member Functions inherited from algorithms::ServiceBase
bool ready () const
void ready (bool state)
Public Member Functions inherited from algorithms::Configurable
template<typename T>
void setProperty (std::string_view name, T &&value)
template<typename T>
T getProperty (std::string_view name) const
const PropertyMap & getProperties () const
bool hasProperty (std::string_view name) const
auto missingProperties () const
void validate () const
Public Member Functions inherited from algorithms::NameMixin
 NameMixin (std::string_view name, std::string_view description)
std::string_view name () const
std::string_view description () const

Static Public Member Functions

static SvcType & instance ()

Additional Inherited Members

Public Types inherited from algorithms::Configurable
using PropertyMap = std::map<std::string_view, PropertyBase&>

Detailed Description

template<class SvcType>
class algorithms::Service< SvcType >

Definition at line 226 of file service.h.

Constructor & Destructor Documentation

◆ Service()

template<class SvcType>
algorithms::Service< SvcType >::Service ( std::string_view name)
inline

Definition at line 242 of file service.h.

Member Function Documentation

◆ instance()

template<class SvcType>
SvcType & algorithms::Service< SvcType >::instance ( )
inlinestatic

Definition at line 228 of file service.h.


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