#include <param_server.hpp>
Public Types | |
typedef StorageType< typename protocol::param::GetSet::Request::FieldTypes::index >::Type | Index |
typedef StorageType< typename protocol::param::GetSet::Response::FieldTypes::name >::Type | Name |
typedef protocol::param::NumericValue | NumericValue |
typedef protocol::param::Value | Value |
Public Member Functions | |
virtual void | assignParamValue (const Name &name, const Value &value)=0 |
virtual int | eraseAllParams ()=0 |
virtual void | getParamNameByIndex (Index index, Name &out_name) const =0 |
virtual void | readParamDefaultMaxMin (const Name &name, Value &out_default, NumericValue &out_max, NumericValue &out_min) const |
virtual void | readParamValue (const Name &name, Value &out_value) const =0 |
virtual int | saveAllParams ()=0 |
virtual | ~IParamManager () |
Implement this interface in the application to support the standard remote reconfiguration services. Refer to ParamServer.
Definition at line 22 of file param_server.hpp.
typedef StorageType<typename protocol::param::GetSet::Request::FieldTypes::index>::Type uavcan::IParamManager::Index |
Definition at line 26 of file param_server.hpp.
typedef StorageType<typename protocol::param::GetSet::Response::FieldTypes::name>::Type uavcan::IParamManager::Name |
Definition at line 25 of file param_server.hpp.
typedef protocol::param::NumericValue uavcan::IParamManager::NumericValue |
Definition at line 28 of file param_server.hpp.
typedef protocol::param::Value uavcan::IParamManager::Value |
Definition at line 27 of file param_server.hpp.
|
inlinevirtual |
Definition at line 30 of file param_server.hpp.
|
pure virtual |
Assign by name if exists.
|
pure virtual |
|
pure virtual |
Copy the parameter name to out_name if it exists, otherwise do nothing.
|
inlinevirtual |
Read param's default/max/min if available. Note that min/max are only applicable to numeric params. Implementation is optional.
Definition at line 52 of file param_server.hpp.
|
pure virtual |
Read by name if exists, otherwise do nothing.
|
pure virtual |
Save all params to non-volatile storage.
Implemented in ParamServerTestManager.