Skip to main content
used to configure options on how the operator is running. Inherits from:

Inner classes

Members

Friends

Public functions

Function OperatorConfig

Return type:

Function OperatorConfig

Parameters:
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function OperatorConfig

Parameters:
  • OperatorConfig &&
Return type:

Function OperatorConfig

Parameters:
  • OperatorConfig const &
Return type:

Function operator=

Parameters:
  • OperatorConfig const &
Return type: OperatorConfig &

Function operator=

Parameters:
  • OperatorConfig &&
Return type: OperatorConfig &

Function numOptions

Returns: Number of avalable options. Return type: int

Function options

Returns: Vector of option names. Return type: std::vector< std::string >

Function optionsAndValues

Returns: Map of option and printable values. Return type: std::map< std::string, std::string >

Function set

Sets option to integer value. Parameters:
  • std::string const & option: [in] Option name.
  • dp_int value: [in] Value for option.
Return type: void

Function set

Sets option to double value. Parameters:
  • std::string const & option: [in] Option name.
  • dp_double value: [in] Value for option.
Return type: void

Function set

Sets option to boolean value. Parameters:
  • std::string const & option: [in] Option name.
  • bool value: [in] Value for option.
Return type: void

Function getIntValue

Returns: Integer value of given option. Parameters:
  • std::string const & option: [in] Option name.
Return type: int

Function getDoubleValue

Returns: Double value of given option. Parameters:
  • std::string const & option: [in] Option name.
Return type: double

Function getBoolValue

Returns: Boolean value of given option. Parameters:
  • std::string const & option: [in] Option name.
Return type: bool

Function hasOption

Returns: Boolean value if given optin exists in config. Parameters:
  • std::string const & option: [in] Option name.
Return type: bool