|
lintel 0.2.0
|
#include <AbstractService.h>
Public Member Functions | |
| AbstractService ()=delete | |
| AbstractService (std::string processName, std::string instanceName) | |
| AbstractService (std::string processName) | |
| void | onInitialize () override |
| void | onShutdown () override |
| ShutdownPriority | shutdownPriorityOf () const override |
| const std::string & | getProcessName () const override |
| const std::string & | getInstanceName () const override |
| std::string_view | getClassName () const override |
Public Member Functions inherited from lintel::AbstractServiceInterface | |
| virtual | ~AbstractServiceInterface ()=default |
Protected Attributes | |
| std::vector< std::shared_ptr< PropertyBase > > | m_properties |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const AbstractService &service) |
Every Service must be derived from this service to make sure that basic information gets provided
These information are for example needed for initializing the Properties
|
delete |
|
inline |
Construct an AbstractService with a process name and instance name.
| processName | the process name |
| instanceName | the instance name |
|
inlineexplicit |
Construct an AbstractService with only a process name (instance defaults to "__DEFAULT").
| processName | the process name |
|
inlineoverridevirtual |
Returns the class name via type_name<T>().
Implements lintel::AbstractServiceInterface.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Returns the process name.
Implements lintel::AbstractServiceInterface.
Reimplemented in lintel::HistoryService.
|
inlineoverridevirtual |
Default initialization does nothing; override in subclasses.
Implements lintel::AbstractServiceInterface.
Reimplemented in lintel::AuthService, lintel::EventBusService, lintel::HistoryService, lintel::MessageQueueService, lintel::ProcessService, lintel::SchedulerService, lintel::SharedMemoryService, lintel::CommandLineHistoryService, and lintel::CommandLineService.
|
inlineoverridevirtual |
Default shutdown does nothing; override in subclasses.
Implements lintel::AbstractServiceInterface.
Reimplemented in lintel::AuthService, lintel::EventBusService, lintel::HistoryService, lintel::MessageQueueService, lintel::SchedulerService, and lintel::CommandLineService.
|
inlineoverridevirtual |
Returns the default shutdown priority.
Implements lintel::AbstractServiceInterface.
Reimplemented in lintel::ProcessService.
|
friend |
|
protected |