Go to the documentation of this file.
7 #ifndef __dg_command_direct_getter_h__
8 #define __dg_command_direct_getter_h__
18 #include <boost/assign/list_of.hpp>
26 template <
class E,
typename T>
43 template <
class E,
typename T>
45 const std::string &docString) {
50 const std::string &type) {
51 return std::string(
"\nGet the ") +
name +
".\n\nNo input.\nReturn an " +
58 #endif // __dg_command_direct_getter_h__
T(E::* GetterMethod)() const
Pointer to method that sets parameter of type T.
DirectGetter(E &entity, T *ptr, const std::string &docString)
Constructor.
DirectGetter< E, T > * makeDirectGetter(E &entity, T *ptr, const std::string &docString)
std::string docDirectGetter(const std::string &name, const std::string &type)
virtual Value doExecute()
Specific action performed by the command.
This class implements a variant design pattern to handle basic types in Command.
dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38