Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dynamicgraph::command::Setter< E, double > Class Template Reference
Inheritance diagram for dynamicgraph::command::Setter< E, double >:
Inheritance graph
[legend]

Public Types

typedef void(E::* SetterMethod) (const double &)
 Pointer to method that sets parameter of type double. More...
 

Public Member Functions

 Setter (E &entity, SetterMethod setterMethod, const std::string &docString)
 Constructor. More...
 
- Public Member Functions inherited from dynamicgraph::command::Command
 Command (Entity &entity, const std::vector< Value::Type > &valueTypes, const std::string &docstring)
 
Value execute ()
 Execute the command after checking parameters. More...
 
std::string getDocstring () const
 Get documentation string. More...
 
const std::vector< Value > & getParameterValues () const
 Get parameter values. More...
 
Entityowner ()
 Get a reference to the Entity owning this command. More...
 
void setParameterValues (const std::vector< Value > &values)
 Set parameter values. More...
 
const std::vector< Value::Type > & valueTypes () const
 Return the value type of all parameters. More...
 
virtual ~Command ()
 

Protected Member Functions

virtual Value doExecute ()
 Specific action performed by the command. More...
 

Private Attributes

SetterMethod setterMethod_
 

Additional Inherited Members

- Static Public Attributes inherited from dynamicgraph::command::Command
static const std::vector< Value::TypeEMPTY_ARG = std::vector<Value::Type>()
 

Detailed Description

template<class E>
class dynamicgraph::command::Setter< E, double >

Definition at line 230 of file command-setter.t.cpp.

Member Typedef Documentation

◆ SetterMethod

template<class E >
typedef void(E::* dynamicgraph::command::Setter< E, double >::SetterMethod) (const double &)

Pointer to method that sets parameter of type double.

Definition at line 233 of file command-setter.t.cpp.

Constructor & Destructor Documentation

◆ Setter()

template<class E >
dynamicgraph::command::Setter< E, double >::Setter ( E &  entity,
SetterMethod  setterMethod,
const std::string &  docString 
)

Constructor.

Definition at line 245 of file command-setter.t.cpp.

Member Function Documentation

◆ doExecute()

template<class E >
Value dynamicgraph::command::Setter< E, double >::doExecute ( )
protectedvirtual

Specific action performed by the command.

Implements dynamicgraph::command::Command.

Definition at line 251 of file command-setter.t.cpp.

Member Data Documentation

◆ setterMethod_

template<class E >
SetterMethod dynamicgraph::command::Setter< E, double >::setterMethod_
private

Definition at line 241 of file command-setter.t.cpp.


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


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Oct 22 2023 02:27:08