Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 > Struct Template Reference

#include <command-bind.h>

Inheritance diagram for dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 >:
Inheritance graph
[legend]

Public Types

typedef boost::function< void(const T1 &, const T2 &, const T3 &, const T4 &, const T5 &)> function_t
 
typedef void(E::* memberFunction_ptr_t) (const T1 &, const T2 &, const T3 &, const T4 &, const T5 &)
 

Public Member Functions

 CommandVoid5 (E &entity, function_t function, 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

function_t fptr
 

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 T1, typename T2, typename T3, typename T4, typename T5>
struct dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 >

Definition at line 352 of file command-bind.h.

Member Typedef Documentation

◆ function_t

template<class E, typename T1, typename T2, typename T3, typename T4, typename T5>
typedef boost::function<void(const T1 &, const T2 &, const T3 &, const T4 &, const T5 &)> dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 >::function_t

Definition at line 355 of file command-bind.h.

◆ memberFunction_ptr_t

template<class E, typename T1, typename T2, typename T3, typename T4, typename T5>
typedef void(E::* dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 >::memberFunction_ptr_t) (const T1 &, const T2 &, const T3 &, const T4 &, const T5 &)

Definition at line 356 of file command-bind.h.

Constructor & Destructor Documentation

◆ CommandVoid5()

template<class E, typename T1, typename T2, typename T3, typename T4, typename T5>
dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 >::CommandVoid5 ( E &  entity,
function_t  function,
const std::string &  docString 
)
inline

Definition at line 359 of file command-bind.h.

Member Function Documentation

◆ doExecute()

template<class E, typename T1, typename T2, typename T3, typename T4, typename T5>
virtual Value dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 >::doExecute ( )
inlineprotectedvirtual

Specific action performed by the command.

Implements dynamicgraph::command::Command.

Definition at line 368 of file command-bind.h.

Member Data Documentation

◆ fptr

template<class E, typename T1, typename T2, typename T3, typename T4, typename T5>
function_t dynamicgraph::command::CommandVoid5< E, T1, T2, T3, T4, T5 >::fptr
private

Definition at line 380 of file command-bind.h.


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


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03