interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VOS::LocalProperty Class Reference
[libmetaobject_property]

#include <localproperty.hh>

Inheritance diagram for VOS::LocalProperty:

VOS::Property VOS::MetaObject VOS::Vobject VOS::Dispatchable VUtil::RefCounted VOS::BasicLocalProperty List of all members.

Detailed Description

Definition at line 10 of file localproperty.hh.

Public Member Functions

Protected Member Functions


Constructor & Destructor Documentation

VOS::LocalProperty::LocalProperty ( VobjectBase superobject  )  [protected]


Member Function Documentation

virtual bool VOS::LocalProperty::getAsynchronousEvents (  )  [pure virtual]

See also:
VUtil::ListenernBase::getAsynchronousEvents()

Implemented in VOS::BasicLocalProperty.

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]

See also:
VUtil::ListenernBase::setAsynchronousEvents()

Implemented in VOS::BasicLocalProperty.

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: