Public Types | Public Member Functions | Public Attributes | List of all members
ParamServerTestManager Struct Reference
Inheritance diagram for ParamServerTestManager:
Inheritance graph
[legend]

Public Types

typedef std::map< std::string, double > KeyValue
 
- Public Types inherited from uavcan::IParamManager
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)
 
virtual int eraseAllParams ()
 
virtual void getParamNameByIndex (Index index, Name &out_name) const
 
virtual void readParamValue (const Name &name, Value &out_value) const
 
virtual int saveAllParams ()
 
- Public Member Functions inherited from uavcan::IParamManager
virtual void assignParamValue (const Name &name, const Value &value)=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 ~IParamManager ()
 

Public Attributes

KeyValue kv
 

Detailed Description

Definition at line 10 of file param_server.cpp.

Member Typedef Documentation

◆ KeyValue

typedef std::map<std::string, double> ParamServerTestManager::KeyValue

Definition at line 12 of file param_server.cpp.

Member Function Documentation

◆ assignParamValue()

virtual void ParamServerTestManager::assignParamValue ( const Name name,
const Value value 
)
inlinevirtual

Definition at line 28 of file param_server.cpp.

◆ eraseAllParams()

virtual int ParamServerTestManager::eraseAllParams ( )
inlinevirtual

Clear the non-volatile storage.

Returns
Negative if failed.

Implements uavcan::IParamManager.

Definition at line 80 of file param_server.cpp.

◆ getParamNameByIndex()

virtual void ParamServerTestManager::getParamNameByIndex ( Index  index,
Name out_name 
) const
inlinevirtual

Definition at line 15 of file param_server.cpp.

◆ readParamValue()

virtual void ParamServerTestManager::readParamValue ( const Name name,
Value out_value 
) const
inlinevirtual

Definition at line 62 of file param_server.cpp.

◆ saveAllParams()

virtual int ParamServerTestManager::saveAllParams ( )
inlinevirtual

Save all params to non-volatile storage.

Returns
Negative if failed.

Implements uavcan::IParamManager.

Definition at line 74 of file param_server.cpp.

Member Data Documentation

◆ kv

KeyValue ParamServerTestManager::kv

Definition at line 13 of file param_server.cpp.


The documentation for this struct was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04