#include "Configuration.h"
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_object | Json object reference |
_allocator | Allocator |
Implements ot::Serializable.
◆ defaultMaxCrashRestarts()
unsigned int Configuration::defaultMaxCrashRestarts |
( |
void | | ) |
const |
|
inline |
◆ defaultMaxStartupRestarts()
unsigned int Configuration::defaultMaxStartupRestarts |
( |
void | | ) |
const |
|
inline |
◆ importFromEnvironment()
int Configuration::importFromEnvironment |
( |
void | | ) |
|
Will load the confiuguration from the environment Returns an exit code (use LDS_EXIT_... macros to determine error: ExitCodes.h) LDS_EXIT_Ok will be returned if no error occured.
◆ instance()
◆ launcherPath()
const std::string Configuration::launcherPath |
( |
void | | ) |
const |
|
inline |
◆ servicesLibraryPath()
const std::string & Configuration::servicesLibraryPath |
( |
void | | ) |
const |
|
inline |
◆ setDefaultMaxCrashRestarts()
void Configuration::setDefaultMaxCrashRestarts |
( |
unsigned int | _restarts | ) |
|
|
inline |
◆ setDefaultMaxStartupRestarts()
void Configuration::setDefaultMaxStartupRestarts |
( |
unsigned int | _restarts | ) |
|
|
inline |
◆ 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.
◆ setLauncherPath()
void Configuration::setLauncherPath |
( |
const std::string & | _launcherPath | ) |
|
|
inline |
◆ setServicesLibraryPath()
void Configuration::setServicesLibraryPath |
( |
const std::string & | _path | ) |
|
|
inline |
◆ setSupportedServices()
void Configuration::setSupportedServices |
( |
const std::list< ServiceInformation > & | _services | ) |
|
|
inline |
◆ supportedServices()
◆ supportsService()
bool Configuration::supportsService |
( |
const std::string & | _serviceName | ) |
const |
Returns true if the provided service is supported by this LDS.
◆ ~Configuration()
Configuration::~Configuration |
( |
| ) |
|
|
privatevirtual |
The documentation for this class was generated from the following files: