![]() |
ORCA: Optimization-based framework for Robotic Control Applications
|
This class holds the conversion from a string (YAML string) to the data type. More...
#include <Parameter.h>
Inheritance diagram for orca::common::Parameter< T >:
Collaboration diagram for orca::common::Parameter< T >:Public Member Functions | |
| Parameter () | |
| template<class T2 > | |
| Parameter (const T2 &t) | |
| bool | onLoadFromString (const std::string &s) |
| void | print () const |
| bool | isSet () const |
| T & | get () |
| const T & | get () const |
| template<class T2 > | |
| Parameter< T > & | operator= (T2 val) |
Public Member Functions inherited from orca::common::ParameterBase | |
| virtual | ~ParameterBase () |
| bool | loadFromString (const std::string &s) |
| Load the parameter from a YAML string It calls a callback on success. More... | |
| const std::string & | getName () const |
| void | setName (const std::string &name) |
| void | setRequired (bool is_required) |
| bool | isRequired () const |
| void | onSuccess (std::function< void(void)> f) |
| The callback called if loadFromString is successful. More... | |
Public Member Functions inherited from orca::common::ParameterData< T > | |
| ParameterData () | |
| virtual | ~ParameterData () |
| ParameterData (const T &val) | |
| template<class T2 > | |
| ParameterData (const ParameterData< T2 > &v) | |
| T & | get () |
| const T & | get () const |
| void | set (const T &val) |
| bool | isSet () const |
Additional Inherited Members | |
Public Types inherited from orca::common::ParameterBase | |
| using | Ptr = std::shared_ptr< ParameterBase > |
This class holds the conversion from a string (YAML string) to the data type.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements orca::common::ParameterBase.
|
inlinevirtual |
Implements orca::common::ParameterBase.
|
inline |
|
inlinevirtual |
Implements orca::common::ParameterBase.
1.8.11