gepetto-viewer
5.2.0
An user-friendly Graphical Interface
|
#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< PropertyTpl > | Ptr_t |
Public Member Functions | |
virtual std::string | type () |
PropertyTpl (const std::string &name, const Getter_t &g, const Setter_t &s) | |
virtual | ~PropertyTpl () |
bool | hasReadAccess () const |
bool | hasWriteAccess () const |
const Getter_t & | getter () const |
void | getter (const Getter_t &g) |
const Setter_t & | setter () const |
void | setter (const Setter_t &s) |
virtual QWidget * | guiEditor () |
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 > | |
static Getter_t | getterFromMemberFunction (Obj *obj, const T &(Obj::*mem_func)() const) |
template<typename Obj > | |
static Getter_t | getterFromMemberFunction (Obj *obj, T(Obj::*mem_func)() const) |
template<typename Obj > | |
static Setter_t | setterFromMemberFunction (Obj *obj, void(Obj::*mem_func)(const T &)) |
template<typename Obj > | |
static Setter_t | setterFromMemberFunction (Obj *obj, void(Obj::*mem_func)(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)(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)) |
Protected Member Functions | |
virtual bool | impl_set (const T &value) |
virtual bool | impl_get (T &value) |
typedef boost::function<T(void)> gepetto::viewer::PropertyTpl< T >::Getter_t |
typedef shared_ptr<PropertyTpl> gepetto::viewer::PropertyTpl< T >::Ptr_t |
typedef boost::function<void(const T&)> gepetto::viewer::PropertyTpl< T >::Setter_t |
|
inline |
|
inlinevirtual |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinevirtual |
Reimplemented in gepetto::viewer::EnumProperty.
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinevirtual |
Reimplemented in gepetto::viewer::EnumProperty.