All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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