#include "ServiceInformation.h"
◆ ServiceInformation() [1/6]
| ServiceInformation::ServiceInformation |
( |
| ) |
|
◆ ServiceInformation() [2/6]
| ServiceInformation::ServiceInformation |
( |
const std::string & | _name, |
|
|
const std::string & | _type ) |
◆ ServiceInformation() [3/6]
◆ ~ServiceInformation() [1/2]
| ServiceInformation::~ServiceInformation |
( |
| ) |
|
|
virtual |
◆ ServiceInformation() [4/6]
| ServiceInformation::ServiceInformation |
( |
| ) |
|
◆ ServiceInformation() [5/6]
| ServiceInformation::ServiceInformation |
( |
const std::string & | _name, |
|
|
const std::string & | _type ) |
◆ ServiceInformation() [6/6]
◆ ~ServiceInformation() [2/2]
| virtual ServiceInformation::~ServiceInformation |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
| _object | Json object reference |
| _allocator | Allocator |
Implements ot::Serializable.
◆ maxCrashRestarts()
| unsigned int ServiceInformation::maxCrashRestarts |
( |
void | | ) |
const |
|
inline |
◆ maxStartupRestarts()
| unsigned int ServiceInformation::maxStartupRestarts |
( |
void | | ) |
const |
|
inline |
◆ name() [1/2]
| const std::string & ServiceInformation::name |
( |
void | | ) |
const |
|
inline |
◆ name() [2/2]
| const std::string & ServiceInformation::name |
( |
void | | ) |
const |
|
inline |
◆ operator!=() [1/2]
◆ operator!=() [2/2]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==() [1/2]
◆ operator==() [2/2]
◆ setFromJsonObject()
Will set the object contents from the provided JSON object.
- Parameters
-
| _object | The JSON object containing the information |
- Exceptions
-
| Will | throw an exception if the provided object is not valid (members missing or invalid types) |
Implements ot::Serializable.
◆ setMaxCrashRestarts()
| void ServiceInformation::setMaxCrashRestarts |
( |
unsigned int | _restarts | ) |
|
|
inline |
◆ setMaxStartupRestarts()
| void ServiceInformation::setMaxStartupRestarts |
( |
unsigned int | _restarts | ) |
|
|
inline |
◆ setName() [1/2]
| void ServiceInformation::setName |
( |
const std::string & | _name | ) |
|
|
inline |
◆ setName() [2/2]
| void ServiceInformation::setName |
( |
const std::string & | _name | ) |
|
|
inline |
◆ setType() [1/2]
| void ServiceInformation::setType |
( |
const std::string & | _type | ) |
|
|
inline |
◆ setType() [2/2]
| void ServiceInformation::setType |
( |
const std::string & | _type | ) |
|
|
inline |
◆ type() [1/2]
| const std::string & ServiceInformation::type |
( |
void | | ) |
const |
|
inline |
◆ type() [2/2]
| const std::string ServiceInformation::type |
( |
void | | ) |
const |
|
inline |
The documentation for this class was generated from the following files: