gepetto::viewer::Property Class Referenceabstract

Abstract base class for runtime properties of Node. More...

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

Inheritance diagram for gepetto::viewer::Property:
Collaboration diagram for gepetto::viewer::Property:

Public Slots

bool set (void)
 
bool set (const bool &v)
 
bool set (const int &v)
 
bool set (const float &v)
 
bool set (const std::string &v)
 
bool set (const osgVector2 &v)
 
bool set (const osgVector3 &v)
 
bool set (const osgVector4 &v)
 
bool set (const Configuration &v)
 
bool set (const double &v)
 
bool set (const QString &v)
 
bool set (const QColor &v)
 

Signals

void valueChanged (void)
 
void valueChanged (const bool &v)
 
void valueChanged (const int &v)
 
void valueChanged (const float &v)
 
void valueChanged (const std::string &v)
 
void valueChanged (const osgVector2 &v)
 
void valueChanged (const osgVector3 &v)
 
void valueChanged (const osgVector4 &v)
 
void valueChanged (const Configuration &v)
 
void valueChanged (const double &v)
 
void valueChanged (const QString &v)
 
void valueChanged (const QColor &v)
 

Public Member Functions

bool get (void)
 
bool get (bool &v)
 
bool get (int &v)
 
bool get (float &v)
 
bool get (std::string &v)
 
bool get (osgVector2 &v)
 
bool get (osgVector3 &v)
 
bool get (osgVector4 &v)
 
bool get (Configuration &v)
 
bool get (double &v)
 
bool get (QString &v)
 
bool get (QColor &v)
 
virtual bool hasReadAccess () const =0
 
virtual bool hasWriteAccess () const =0
 
virtual std::string type ()=0
 
const std::string & name () const
 
virtual QWidget * guiEditor ()
 

Protected Member Functions

virtual bool impl_set (void)
 
virtual bool impl_set (const bool &v)
 
virtual bool impl_set (const int &v)
 
virtual bool impl_set (const float &v)
 
virtual bool impl_set (const std::string &v)
 
virtual bool impl_set (const osgVector2 &v)
 
virtual bool impl_set (const osgVector3 &v)
 
virtual bool impl_set (const osgVector4 &v)
 
virtual bool impl_set (const Configuration &v)
 
virtual bool impl_get (void)
 
virtual bool impl_get (bool &v)
 
virtual bool impl_get (int &v)
 
virtual bool impl_get (float &v)
 
virtual bool impl_get (std::string &v)
 
virtual bool impl_get (osgVector2 &v)
 
virtual bool impl_get (osgVector3 &v)
 
virtual bool impl_get (osgVector4 &v)
 
virtual bool impl_get (Configuration &v)
 
 Property (const std::string &name)
 
virtual ~Property ()
 
void invalidGet () const
 
void invalidSet () const
 

Protected Attributes

const std::string name_
 

Detailed Description

Abstract base class for runtime properties of Node.

Constructor & Destructor Documentation

◆ Property()

gepetto::viewer::Property::Property ( const std::string &  name)
protected

◆ ~Property()

virtual gepetto::viewer::Property::~Property ( )
inlineprotectedvirtual

Member Function Documentation

◆ get() [1/12]

bool gepetto::viewer::Property::get ( void  )

◆ get() [2/12]

bool gepetto::viewer::Property::get ( bool &  v)

◆ get() [3/12]

bool gepetto::viewer::Property::get ( int &  v)

◆ get() [4/12]

bool gepetto::viewer::Property::get ( float &  v)

◆ get() [5/12]

bool gepetto::viewer::Property::get ( std::string &  v)

◆ get() [6/12]

bool gepetto::viewer::Property::get ( osgVector2 v)

◆ get() [7/12]

bool gepetto::viewer::Property::get ( osgVector3 v)

◆ get() [8/12]

bool gepetto::viewer::Property::get ( osgVector4 v)

◆ get() [9/12]

bool gepetto::viewer::Property::get ( Configuration v)

◆ get() [10/12]

bool gepetto::viewer::Property::get ( double &  v)

◆ get() [11/12]

bool gepetto::viewer::Property::get ( QString &  v)

◆ get() [12/12]

bool gepetto::viewer::Property::get ( QColor &  v)

◆ guiEditor()

virtual QWidget* gepetto::viewer::Property::guiEditor ( )
inlinevirtual

◆ hasReadAccess()

◆ hasWriteAccess()

◆ impl_get() [1/9]

virtual bool gepetto::viewer::Property::impl_get ( void  )
protectedvirtual

Reimplemented in gepetto::viewer::VoidProperty.

◆ impl_get() [2/9]

virtual bool gepetto::viewer::Property::impl_get ( bool &  v)
protectedvirtual

◆ impl_get() [3/9]

virtual bool gepetto::viewer::Property::impl_get ( int &  v)
protectedvirtual

Reimplemented in gepetto::viewer::EnumProperty.

◆ impl_get() [4/9]

virtual bool gepetto::viewer::Property::impl_get ( float &  v)
protectedvirtual

◆ impl_get() [5/9]

virtual bool gepetto::viewer::Property::impl_get ( std::string &  v)
protectedvirtual

Reimplemented in gepetto::viewer::EnumProperty.

◆ impl_get() [6/9]

virtual bool gepetto::viewer::Property::impl_get ( osgVector2 v)
protectedvirtual

◆ impl_get() [7/9]

virtual bool gepetto::viewer::Property::impl_get ( osgVector3 v)
protectedvirtual

◆ impl_get() [8/9]

virtual bool gepetto::viewer::Property::impl_get ( osgVector4 v)
protectedvirtual

◆ impl_get() [9/9]

virtual bool gepetto::viewer::Property::impl_get ( Configuration v)
protectedvirtual

◆ impl_set() [1/9]

virtual bool gepetto::viewer::Property::impl_set ( void  )
protectedvirtual

Reimplemented in gepetto::viewer::VoidProperty.

◆ impl_set() [2/9]

virtual bool gepetto::viewer::Property::impl_set ( const bool &  v)
protectedvirtual

◆ impl_set() [3/9]

virtual bool gepetto::viewer::Property::impl_set ( const int &  v)
protectedvirtual

Reimplemented in gepetto::viewer::EnumProperty.

◆ impl_set() [4/9]

virtual bool gepetto::viewer::Property::impl_set ( const float &  v)
protectedvirtual

◆ impl_set() [5/9]

virtual bool gepetto::viewer::Property::impl_set ( const std::string &  v)
protectedvirtual

Reimplemented in gepetto::viewer::EnumProperty.

◆ impl_set() [6/9]

virtual bool gepetto::viewer::Property::impl_set ( const osgVector2 v)
protectedvirtual

◆ impl_set() [7/9]

virtual bool gepetto::viewer::Property::impl_set ( const osgVector3 v)
protectedvirtual

◆ impl_set() [8/9]

virtual bool gepetto::viewer::Property::impl_set ( const osgVector4 v)
protectedvirtual

◆ impl_set() [9/9]

virtual bool gepetto::viewer::Property::impl_set ( const Configuration v)
protectedvirtual

◆ invalidGet()

void gepetto::viewer::Property::invalidGet ( ) const
inlineprotected

◆ invalidSet()

void gepetto::viewer::Property::invalidSet ( ) const
inlineprotected

◆ name()

const std::string& gepetto::viewer::Property::name ( ) const
inline

◆ set [1/12]

bool gepetto::viewer::Property::set ( void  )
slot

◆ set [2/12]

bool gepetto::viewer::Property::set ( const bool &  v)
slot

◆ set [3/12]

bool gepetto::viewer::Property::set ( const int &  v)
slot

◆ set [4/12]

bool gepetto::viewer::Property::set ( const float &  v)
slot

◆ set [5/12]

bool gepetto::viewer::Property::set ( const std::string &  v)
slot

◆ set [6/12]

bool gepetto::viewer::Property::set ( const osgVector2 v)
slot

◆ set [7/12]

bool gepetto::viewer::Property::set ( const osgVector3 v)
slot

◆ set [8/12]

bool gepetto::viewer::Property::set ( const osgVector4 v)
slot

◆ set [9/12]

bool gepetto::viewer::Property::set ( const Configuration v)
slot

◆ set [10/12]

bool gepetto::viewer::Property::set ( const double &  v)
slot

◆ set [11/12]

bool gepetto::viewer::Property::set ( const QString &  v)
slot

◆ set [12/12]

bool gepetto::viewer::Property::set ( const QColor &  v)
slot

◆ type()

◆ valueChanged [1/12]

void gepetto::viewer::Property::valueChanged ( void  )
signal

◆ valueChanged [2/12]

void gepetto::viewer::Property::valueChanged ( const bool &  v)
signal

◆ valueChanged [3/12]

void gepetto::viewer::Property::valueChanged ( const int &  v)
signal

◆ valueChanged [4/12]

void gepetto::viewer::Property::valueChanged ( const float &  v)
signal

◆ valueChanged [5/12]

void gepetto::viewer::Property::valueChanged ( const std::string &  v)
signal

◆ valueChanged [6/12]

void gepetto::viewer::Property::valueChanged ( const osgVector2 v)
signal

◆ valueChanged [7/12]

void gepetto::viewer::Property::valueChanged ( const osgVector3 v)
signal

◆ valueChanged [8/12]

void gepetto::viewer::Property::valueChanged ( const osgVector4 v)
signal

◆ valueChanged [9/12]

void gepetto::viewer::Property::valueChanged ( const Configuration v)
signal

◆ valueChanged [10/12]

void gepetto::viewer::Property::valueChanged ( const double &  v)
signal

◆ valueChanged [11/12]

void gepetto::viewer::Property::valueChanged ( const QString &  v)
signal

◆ valueChanged [12/12]

void gepetto::viewer::Property::valueChanged ( const QColor &  v)
signal

Member Data Documentation

◆ name_

const std::string gepetto::viewer::Property::name_
protected

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