Class to read parameter file and set the correct hardware parameters.
More...
#include <DynamicParameterClass.h>
|
void | parse_parameters (const uint16_t major_version, const uint16_t minor_version, XmlRpc::XmlRpcValue ¶meters) |
| This method parses the given XmlRpcValue array and sets the corresponding parameters. More...
|
|
bool | xml_rpc_value_to_vector (XmlRpc::XmlRpcValue my_array, std::vector< float > &my_vector) |
| Converts the given XmlRpcValue array to a std:vector /param my_array XmlRpcValue array created by reading the parameter file /param my_vector Vector to write the array values to. More...
|
|
Class to read parameter file and set the correct hardware parameters.
Definition at line 49 of file DynamicParameterClass.h.
◆ DynamicParameter()
DynamicParameter::DynamicParameter |
( |
const uint16_t |
major_version, |
|
|
const uint16_t |
minor_version, |
|
|
XmlRpc::XmlRpcValue & |
parameters |
|
) |
| |
DynamicParameter constructs a new dynamic parameter handler.
- Parameters
-
major_version | The major version of the svh hardware |
minor_version | The minor version of the svh hardware |
parameters | An array of type XmlRpcValue with parsed parameter file |
Definition at line 40 of file DynamicParameterClass.cpp.
◆ getSettings()
const Settings& DynamicParameter::getSettings |
( |
| ) |
const |
|
inline |
◆ parse_parameters()
void DynamicParameter::parse_parameters |
( |
const uint16_t |
major_version, |
|
|
const uint16_t |
minor_version, |
|
|
XmlRpc::XmlRpcValue & |
parameters |
|
) |
| |
|
private |
This method parses the given XmlRpcValue array and sets the corresponding parameters.
- Parameters
-
major_version | The major version of the svh hardware |
minor_version | The minor version of the svh hardware |
parameters | An array of type XmlRpcValue with parsed parameter file |
Definition at line 104 of file DynamicParameterClass.cpp.
◆ xml_rpc_value_to_vector()
bool DynamicParameter::xml_rpc_value_to_vector |
( |
XmlRpc::XmlRpcValue |
my_array, |
|
|
std::vector< float > & |
my_vector |
|
) |
| |
|
private |
Converts the given XmlRpcValue array to a std:vector /param my_array XmlRpcValue array created by reading the parameter file /param my_vector Vector to write the array values to.
Definition at line 76 of file DynamicParameterClass.cpp.
◆ m_name_to_enum
◆ m_settings
The documentation for this class was generated from the following files: