#include <ServiceExample.h>
◆ ServiceExample() [1/2]
ServiceExample::ServiceExample |
( |
| ) |
|
|
delete |
◆ ServiceExample() [2/2]
ServiceExample::ServiceExample |
( |
const std::string & |
name | ) |
|
◆ ~ServiceExample()
ServiceExample::~ServiceExample |
( |
| ) |
|
|
virtual |
◆ getName()
const std::string& ServiceExample::getName |
( |
| ) |
const |
|
inlineoverridevirtual |
Get name of the instance.
- Returns
- The instance name
Returns unique name of the instance
Implements IService.
◆ setDaemon()
void ServiceExample::setDaemon |
( |
IDaemon * |
daemon | ) |
|
|
overridevirtual |
Set IDaemon instance reference.
- Parameters
-
[in] | daemon | referenced instance |
Set IDaemon instance reference to access its interface
Implements IService.
◆ setMessaging()
void ServiceExample::setMessaging |
( |
IMessaging * |
messaging | ) |
|
|
overridevirtual |
Set IMessaging instance reference.
- Parameters
-
[in] | messaging | referenced instance |
Set IMessaging instance reference to access its interface
Implements IService.
◆ setSerializer()
void ServiceExample::setSerializer |
( |
ISerializer * |
serializer | ) |
|
|
overridevirtual |
Set ISerializer instance reference.
- Parameters
-
[in] | serializer | referenced instance |
Set ISerializer instance reference to access its interface
Implements IService.
◆ start()
void ServiceExample::start |
( |
| ) |
|
|
overridevirtual |
◆ stop()
void ServiceExample::stop |
( |
| ) |
|
|
overridevirtual |
◆ update()
void ServiceExample::update |
( |
const rapidjson::Value & |
cfg | ) |
|
|
overridevirtual |
Update configuration.
- Parameters
-
[in] | cfg | configuration data |
Configuration data are taken from passed cfg and the instance is configured accordingly
Implements IService.
◆ updateConfiguration()
void ServiceExample::updateConfiguration |
( |
const rapidjson::Value & |
cfg | ) |
|
The documentation for this class was generated from the following files: