![]() |
RobWorkProject
23.9.11-
|
Base class for Property handling. More...
#include <PropertyValueBase.hpp>
Inherited by PropertyValue< T >.
Public Types | |
| typedef rw::core::Ptr< PropertyValueBase > | Ptr |
| Smart pointer type to this class. | |
| typedef std::function< void(PropertyValueBase *)> | PropertyListener |
| Method signature for a callback function. | |
| typedef rw::core::Event< PropertyListener, PropertyValueBase * > | ChangedEvent |
| Type for changed property events. | |
Public Member Functions | |
| PropertyValueBase () | |
| Constructor. | |
| PropertyValueBase (const PropertyType &type) | |
| Constructor. More... | |
| virtual | ~PropertyValueBase () |
| Destroys PropertyValueBase. | |
| virtual PropertyValueBase * | clone () const =0 |
| Construct a clone of the property value. More... | |
| const rw::core::PropertyType & | getType () const |
| Returns the PropertyType. More... | |
| ChangedEvent & | changedEvent () |
| get changed event More... | |
Base class for Property handling.
| PropertyValueBase | ( | const PropertyType & | type | ) |
Constructor.
| type | [in] type of the property |
|
inline |
get changed event
to add listener use: changedEvent().add(...)
|
pure virtual |
| const rw::core::PropertyType& getType | ( | ) | const |
Returns the PropertyType.