gepetto-viewer  4.15.1
An user-friendly Graphical Interface
gepetto::viewer::RangedPropertyTpl< T, RangeT > Class Template Reference

#include <gepetto/viewer/node-property.h>

Public Types

typedef boost::function< void(const T &)> Setter_t
 
typedef boost::function< T(void)> Getter_t
 
typedef shared_ptr< RangedPropertyTplPtr_t
 

Public Member Functions

 RangedPropertyTpl (const std::string &name, const Getter_t &g, const Setter_t &s)
 
virtual ~RangedPropertyTpl ()
 

Static Public Member Functions

static Ptr_t create (const std::string &name, const Getter_t &g, const Setter_t &s)
 
static Ptr_t create (const std::string &name, const Getter_t &g)
 
static Ptr_t create (const std::string &name, const Setter_t &s)
 
template<typename Obj , typename RetType >
static Ptr_t create (const std::string &name, Obj *obj, RetType(Obj::*mem_get)() const, void(Obj::*mem_set)(const T &))
 
template<typename Obj , typename RetType >
static Ptr_t create (const std::string &name, Obj *obj, RetType(Obj::*mem_get)() const, void(Obj::*mem_set)(T))
 
template<typename Obj , typename RetType >
static Ptr_t createRO (const std::string &name, Obj *obj, RetType(Obj::*mem_get)() const)
 
template<typename Obj >
static Ptr_t createWO (const std::string &name, Obj *obj, void(Obj::*mem_set)(const T &))
 
template<typename Obj , typename RetType >
static Ptr_t createWO (const std::string &name, Obj *obj, void(Obj::*mem_set)(T))
 

Member Typedef Documentation

◆ Getter_t

template<typename T , typename RangeT >
typedef boost::function<T(void)> gepetto::viewer::RangedPropertyTpl< T, RangeT >::Getter_t

◆ Ptr_t

template<typename T , typename RangeT >
typedef shared_ptr<RangedPropertyTpl> gepetto::viewer::RangedPropertyTpl< T, RangeT >::Ptr_t

◆ Setter_t

template<typename T , typename RangeT >
typedef boost::function<void(const T&)> gepetto::viewer::RangedPropertyTpl< T, RangeT >::Setter_t

Constructor & Destructor Documentation

◆ RangedPropertyTpl()

template<typename T , typename RangeT >
gepetto::viewer::RangedPropertyTpl< T, RangeT >::RangedPropertyTpl ( const std::string &  name,
const Getter_t g,
const Setter_t s 
)
inline

◆ ~RangedPropertyTpl()

template<typename T , typename RangeT >
virtual gepetto::viewer::RangedPropertyTpl< T, RangeT >::~RangedPropertyTpl ( )
inlinevirtual

Member Function Documentation

◆ create() [1/5]

template<typename T , typename RangeT >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::create ( const std::string &  name,
const Getter_t g 
)
inlinestatic

◆ create() [2/5]

template<typename T , typename RangeT >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::create ( const std::string &  name,
const Getter_t g,
const Setter_t s 
)
inlinestatic

◆ create() [3/5]

template<typename T , typename RangeT >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::create ( const std::string &  name,
const Setter_t s 
)
inlinestatic

◆ create() [4/5]

template<typename T , typename RangeT >
template<typename Obj , typename RetType >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::create ( const std::string &  name,
Obj *  obj,
RetType(Obj::*)() const  mem_get,
void(Obj::*)(const T &)  mem_set 
)
inlinestatic

◆ create() [5/5]

template<typename T , typename RangeT >
template<typename Obj , typename RetType >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::create ( const std::string &  name,
Obj *  obj,
RetType(Obj::*)() const  mem_get,
void(Obj::*)(T)  mem_set 
)
inlinestatic

◆ createRO()

template<typename T , typename RangeT >
template<typename Obj , typename RetType >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::createRO ( const std::string &  name,
Obj *  obj,
RetType(Obj::*)() const  mem_get 
)
inlinestatic

◆ createWO() [1/2]

template<typename T , typename RangeT >
template<typename Obj >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::createWO ( const std::string &  name,
Obj *  obj,
void(Obj::*)(const T &)  mem_set 
)
inlinestatic

◆ createWO() [2/2]

template<typename T , typename RangeT >
template<typename Obj , typename RetType >
static Ptr_t gepetto::viewer::RangedPropertyTpl< T, RangeT >::createWO ( const std::string &  name,
Obj *  obj,
void(Obj::*)(T)  mem_set 
)
inlinestatic

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