VOS::LocalProperty Class Reference
[libmetaobject_property]
#include <localproperty.hh>
Inheritance diagram for VOS::LocalProperty:

Detailed Description
Definition at line 10 of file localproperty.hh.
Public Member Functions
- virtual bool validatePropertyAccess (PropertyEvent &e, std::string &message)
- virtual void write (Vobject *initiator, int start, const std::string &newdata)=0
- virtual void replace (Vobject *initiator, const std::string &newdata, const std::string &newtype="?")=0
- virtual void write (int start, const std::string &newdata)
- virtual void replace (const std::string &newdata, const std::string &newtype="?")
- virtual bool getAsynchronousEvents ()=0
- virtual void setAsynchronousEvents (bool b)=0
Protected Member Functions
- LocalProperty (VobjectBase *superobject)
- template<class T> void setupHandlers ()
Constructor & Destructor Documentation
| VOS::LocalProperty::LocalProperty | ( | VobjectBase * | superobject | ) | [protected] |
Member Function Documentation
| virtual bool VOS::LocalProperty::getAsynchronousEvents | ( | ) | [pure virtual] |
| virtual void VOS::LocalProperty::replace | ( | const std::string & | newdata, | |
| const std::string & | newtype = "?" | |||
| ) | [inline, virtual] |
Completely change the value and type of data stored in this property.
- Parameters:
-
newdata New data. newtype The type of the new datatype. If no type identifier was supplied, the previous one is kept. NOTE: the initial datatype (set by the constructor) is "?" which is (or should be) an invalid value for any application.
Implements VOS::Property.
Reimplemented in VOS::BasicLocalProperty.
Definition at line 44 of file localproperty.hh.
| virtual void VOS::LocalProperty::replace | ( | Vobject * | initiator, | |
| const std::string & | newdata, | |||
| const std::string & | newtype = "?" | |||
| ) | [pure virtual] |
Implemented in VOS::BasicLocalProperty.
| virtual void VOS::LocalProperty::setAsynchronousEvents | ( | bool | b | ) | [pure virtual] |
template<class T>
| void VOS::LocalProperty::setupHandlers | ( | ) | [inline, protected] |
Definition at line 24 of file localproperty.hh.
| virtual bool VOS::LocalProperty::validatePropertyAccess | ( | PropertyEvent & | e, | |
| std::string & | message | |||
| ) | [virtual] |
| virtual void VOS::LocalProperty::write | ( | int | start, | |
| const std::string & | newdata | |||
| ) | [inline, virtual] |
Write newdata into property value, starting at byte position start.
Implements VOS::Property.
Reimplemented in VOS::BasicLocalProperty.
Definition at line 41 of file localproperty.hh.
| virtual void VOS::LocalProperty::write | ( | Vobject * | initiator, | |
| int | start, | |||
| const std::string & | newdata | |||
| ) | [pure virtual] |
Implemented in VOS::BasicLocalProperty.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/localproperty.hh