Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dynamicgraph::command::DirectSetter< E, T > Class Template Reference

#include <command-direct-setter.h>

Inheritance diagram for dynamicgraph::command::DirectSetter< E, T >:
Inheritance graph
[legend]

Public Member Functions

 DirectSetter (E &entity, T *ptr, const std::string &docString)
 
- 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

T * T_ptr
 

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, typename T>
class dynamicgraph::command::DirectSetter< E, T >

Definition at line 27 of file command-direct-setter.h.

Constructor & Destructor Documentation

◆ DirectSetter()

template<class E , typename T >
dynamicgraph::command::DirectSetter< E, T >::DirectSetter ( E &  entity,
T *  ptr,
const std::string &  docString 
)
inline

Definition at line 29 of file command-direct-setter.h.

Member Function Documentation

◆ doExecute()

template<class E , typename T >
virtual Value dynamicgraph::command::DirectSetter< E, T >::doExecute ( )
inlineprotectedvirtual

Specific action performed by the command.

Implements dynamicgraph::command::Command.

Definition at line 35 of file command-direct-setter.h.

Member Data Documentation

◆ T_ptr

template<class E , typename T >
T* dynamicgraph::command::DirectSetter< E, T >::T_ptr
private

Definition at line 43 of file command-direct-setter.h.


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


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:39