Loading...
Searching...
No Matches
dynamicgraph::command Namespace Reference

Classes

struct  CommandVoid0
struct  CommandVoid1
struct  CommandVoid2
struct  CommandVoid3
struct  CommandVoid4
struct  CommandVerbose
class  DirectGetter
class  DirectSetter
class  Getter
 Command that calls a parameter getter function. More...
class  Setter
 Command that calls a parameter setter function. More...
class  Setter< E, bool >
class  Setter< E, unsigned >
class  Setter< E, int >
class  Setter< E, float >
class  Setter< E, double >
class  Setter< E, std::string >
class  Setter< E, Vector >
class  Setter< E, Matrix >
class  Command
 Abstract class for entity commands. More...
class  EitherType
class  Value
struct  ValueHelper

Functions

template<class E>
CommandVoid0< E > * makeCommandVoid0 (E &entity, boost::function< void(void)> function, const std::string &docString)
template<class E>
CommandVoid0< E > * makeCommandVoid0 (E &entity, boost::function< void(E *)> function, const std::string &docString)
template<class E>
CommandVoid0< E > * makeCommandVoid0 (E &entity, void(E::*function)(void), const std::string &docString)
std::string docCommandVoid0 (const std::string &doc)
template<class E, typename T>
CommandVoid1< E, T > * makeCommandVoid1 (E &entity, boost::function< void(const T &)> function, const std::string &docString)
template<class E, typename T>
CommandVoid1< E, T > * makeCommandVoid1 (E &entity, boost::function< void(E *, const T &)> function, const std::string &docString)
template<class E, typename T>
CommandVoid1< E, T > * makeCommandVoid1 (E &entity, void(E::*function)(const T &), const std::string &docString)
std::string docCommandVoid1 (const std::string &doc, const std::string &type)
template<class E, typename T1, typename T2>
CommandVoid2< E, T1, T2 > * makeCommandVoid2 (E &entity, boost::function< void(const T1 &, const T2 &)> function, const std::string &docString)
template<class E, typename T1, typename T2>
CommandVoid2< E, T1, T2 > * makeCommandVoid2 (E &entity, boost::function< void(E *, const T1 &, const T2 &)> function, const std::string &docString)
template<class E, typename T1, typename T2>
CommandVoid2< E, T1, T2 > * makeCommandVoid2 (E &entity, void(E::*function)(const T1 &, const T2 &), const std::string &docString)
std::string docCommandVoid2 (const std::string &doc, const std::string &type1, const std::string &type2)
template<class E, typename T1, typename T2, typename T3>
CommandVoid3< E, T1, T2, T3 > * makeCommandVoid3 (E &entity, typename CommandVoid3< E, T1, T2, T3 >::function_t function, const std::string &docString)
template<class E, typename T1, typename T2, typename T3>
CommandVoid3< E, T1, T2, T3 > * makeCommandVoid3 (E &entity, boost::function< void(E *, const T1 &, const T2 &, const T3 &)> function, const std::string &docString)
template<class E, typename T1, typename T2, typename T3>
CommandVoid3< E, T1, T2, T3 > * makeCommandVoid3 (E &entity, void(E::*function)(const T1 &, const T2 &, const T3 &), const std::string &docString)
std::string docCommandVoid3 (const std::string &doc, const std::string &type1, const std::string &type2, const std::string &type3)
template<class E, typename T1, typename T2, typename T3, typename T4>
CommandVoid4< E, T1, T2, T3, T4 > * makeCommandVoid4 (E &entity, typename CommandVoid4< E, T1, T2, T3, T4 >::function_t function, const std::string &docString)
template<class E, typename T1, typename T2, typename T3, typename T4>
CommandVoid4< E, T1, T2, T3, T4 > * makeCommandVoid4 (E &entity, boost::function< void(E *, const T1 &, const T2 &, const T3 &, const T4 &)> function, const std::string &docString)
template<class E, typename T1, typename T2, typename T3, typename T4>
CommandVoid4< E, T1, T2, T3, T4 > * makeCommandVoid4 (E &entity, void(E::*function)(const T1 &, const T2 &, const T3 &, const T4 &), const std::string &docString)
std::string docCommandVoid4 (const std::string &doc, const std::string &type1, const std::string &type2, const std::string &type3, const std::string &type4)
template<class E>
CommandVerbose< E > * makeCommandVerbose (E &entity, typename CommandVerbose< E >::function_t function, const std::string &docString)
template<class E>
CommandVerbose< E > * makeCommandVerbose (E &entity, typename CommandVerbose< E >::memberFunctionConst_ptr_t function, const std::string &docString)
template<class E>
CommandVerbose< E > * makeCommandVerbose (E &entity, typename CommandVerbose< E >::memberFunction_ptr_t function, const std::string &docString)
std::string docCommandVerbose (const std::string &doc)
template<class E, typename T>
DirectGetter< E, T > * makeDirectGetter (E &entity, T *ptr, const std::string &docString)
std::string docDirectGetter (const std::string &name, const std::string &type)
template<class E, typename T>
DirectSetter< E, T > * makeDirectSetter (E &entity, T *ptr, const std::string &docString)
std::string docDirectSetter (const std::string &name, const std::string &type)

Function Documentation

◆ docCommandVerbose()

std::string dynamicgraph::command::docCommandVerbose ( const std::string & doc)
inline

◆ docCommandVoid0()

std::string dynamicgraph::command::docCommandVoid0 ( const std::string & doc)
inline

◆ docCommandVoid1()

std::string dynamicgraph::command::docCommandVoid1 ( const std::string & doc,
const std::string & type )
inline

◆ docCommandVoid2()

std::string dynamicgraph::command::docCommandVoid2 ( const std::string & doc,
const std::string & type1,
const std::string & type2 )
inline

◆ docCommandVoid3()

std::string dynamicgraph::command::docCommandVoid3 ( const std::string & doc,
const std::string & type1,
const std::string & type2,
const std::string & type3 )
inline

◆ docCommandVoid4()

std::string dynamicgraph::command::docCommandVoid4 ( const std::string & doc,
const std::string & type1,
const std::string & type2,
const std::string & type3,
const std::string & type4 )
inline

◆ docDirectGetter()

std::string dynamicgraph::command::docDirectGetter ( const std::string & name,
const std::string & type )
inline

◆ docDirectSetter()

std::string dynamicgraph::command::docDirectSetter ( const std::string & name,
const std::string & type )
inline

◆ makeCommandVerbose() [1/3]

template<class E>
CommandVerbose< E > * dynamicgraph::command::makeCommandVerbose ( E & entity,
typename CommandVerbose< E >::function_t function,
const std::string & docString )

◆ makeCommandVerbose() [2/3]

template<class E>
CommandVerbose< E > * dynamicgraph::command::makeCommandVerbose ( E & entity,
typename CommandVerbose< E >::memberFunction_ptr_t function,
const std::string & docString )

◆ makeCommandVerbose() [3/3]

template<class E>
CommandVerbose< E > * dynamicgraph::command::makeCommandVerbose ( E & entity,
typename CommandVerbose< E >::memberFunctionConst_ptr_t function,
const std::string & docString )

◆ makeCommandVoid0() [1/3]

template<class E>
CommandVoid0< E > * dynamicgraph::command::makeCommandVoid0 ( E & entity,
boost::function< void(E *)> function,
const std::string & docString )

◆ makeCommandVoid0() [2/3]

template<class E>
CommandVoid0< E > * dynamicgraph::command::makeCommandVoid0 ( E & entity,
boost::function< void(void)> function,
const std::string & docString )

◆ makeCommandVoid0() [3/3]

template<class E>
CommandVoid0< E > * dynamicgraph::command::makeCommandVoid0 ( E & entity,
void(E::* function )(void),
const std::string & docString )

◆ makeCommandVoid1() [1/3]

template<class E, typename T>
CommandVoid1< E, T > * dynamicgraph::command::makeCommandVoid1 ( E & entity,
boost::function< void(const T &)> function,
const std::string & docString )

◆ makeCommandVoid1() [2/3]

template<class E, typename T>
CommandVoid1< E, T > * dynamicgraph::command::makeCommandVoid1 ( E & entity,
boost::function< void(E *, const T &)> function,
const std::string & docString )

◆ makeCommandVoid1() [3/3]

template<class E, typename T>
CommandVoid1< E, T > * dynamicgraph::command::makeCommandVoid1 ( E & entity,
void(E::* function )(const T &),
const std::string & docString )

◆ makeCommandVoid2() [1/3]

template<class E, typename T1, typename T2>
CommandVoid2< E, T1, T2 > * dynamicgraph::command::makeCommandVoid2 ( E & entity,
boost::function< void(const T1 &, const T2 &)> function,
const std::string & docString )

◆ makeCommandVoid2() [2/3]

template<class E, typename T1, typename T2>
CommandVoid2< E, T1, T2 > * dynamicgraph::command::makeCommandVoid2 ( E & entity,
boost::function< void(E *, const T1 &, const T2 &)> function,
const std::string & docString )

◆ makeCommandVoid2() [3/3]

template<class E, typename T1, typename T2>
CommandVoid2< E, T1, T2 > * dynamicgraph::command::makeCommandVoid2 ( E & entity,
void(E::* function )(const T1 &, const T2 &),
const std::string & docString )

◆ makeCommandVoid3() [1/3]

template<class E, typename T1, typename T2, typename T3>
CommandVoid3< E, T1, T2, T3 > * dynamicgraph::command::makeCommandVoid3 ( E & entity,
boost::function< void(E *, const T1 &, const T2 &, const T3 &)> function,
const std::string & docString )

◆ makeCommandVoid3() [2/3]

template<class E, typename T1, typename T2, typename T3>
CommandVoid3< E, T1, T2, T3 > * dynamicgraph::command::makeCommandVoid3 ( E & entity,
typename CommandVoid3< E, T1, T2, T3 >::function_t function,
const std::string & docString )

◆ makeCommandVoid3() [3/3]

template<class E, typename T1, typename T2, typename T3>
CommandVoid3< E, T1, T2, T3 > * dynamicgraph::command::makeCommandVoid3 ( E & entity,
void(E::* function )(const T1 &, const T2 &, const T3 &),
const std::string & docString )

◆ makeCommandVoid4() [1/3]

template<class E, typename T1, typename T2, typename T3, typename T4>
CommandVoid4< E, T1, T2, T3, T4 > * dynamicgraph::command::makeCommandVoid4 ( E & entity,
boost::function< void(E *, const T1 &, const T2 &, const T3 &, const T4 &)> function,
const std::string & docString )

◆ makeCommandVoid4() [2/3]

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

◆ makeCommandVoid4() [3/3]

template<class E, typename T1, typename T2, typename T3, typename T4>
CommandVoid4< E, T1, T2, T3, T4 > * dynamicgraph::command::makeCommandVoid4 ( E & entity,
void(E::* function )(const T1 &, const T2 &, const T3 &, const T4 &),
const std::string & docString )

◆ makeDirectGetter()

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

◆ makeDirectSetter()

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