Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

BufferedLocalProperty Class Reference

This subclass of Property waits until you call flush() (or the static method flushAll()) before actually sending any write or replace methods to listeners. More...

#include <vos/metaobjects/property/bufferedproperty.hh>

Inheritance diagram for BufferedLocalProperty:

LocalProperty Property MetaObject ObjectExciseListener ExtrapolatedLocalProperty List of all members.

Public Member Functions

Static Public Member Functions

Protected Attributes

Static Protected Attributes


Detailed Description

This subclass of Property waits until you call flush() (or the static method flushAll()) before actually sending any write or replace methods to listeners.

Definition at line 41 of file bufferedproperty.hh.


Constructor & Destructor Documentation

BufferedLocalProperty::BufferedLocalProperty MetaObject superobject  ) 
 

Definition at line 32 of file bufferedproperty.cc.

Referenced by new_BufferedLocalProperty().

BufferedLocalProperty::BufferedLocalProperty MetaObject superobject,
const string &  d,
const string &  dt = "?"
 

Definition at line 38 of file bufferedproperty.cc.

BufferedLocalProperty::~BufferedLocalProperty  )  [virtual]
 

Definition at line 44 of file bufferedproperty.cc.


Member Function Documentation

void BufferedLocalProperty::flush  )  [virtual]
 

Flush pending changes for this property.

Reimplemented in ExtrapolatedLocalProperty.

Definition at line 102 of file bufferedproperty.cc.

Referenced by ExtrapolatedLocalProperty::flush().

void BufferedLocalProperty::flushAll  )  [static]
 

Flush pending changes for all BufferedLocalProperty objects created in this process so far.

Definition at line 134 of file bufferedproperty.cc.

MetaObject * BufferedLocalProperty::new_BufferedLocalProperty MetaObject superobject,
const string &  type
[static]
 

Definition at line 49 of file bufferedproperty.cc.

Referenced by registerExtenders().

void BufferedLocalProperty::registerExtenders  )  [static]
 

Register property type with factory.

Reimplemented from Property.

Definition at line 145 of file bufferedproperty.cc.

void BufferedLocalProperty::replace const string &  newdata,
const string &  newtype = "?"
[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.

Reimplemented from LocalProperty.

Reimplemented in ExtrapolatedLocalProperty.

Definition at line 77 of file bufferedproperty.cc.

Referenced by ExtrapolatedLocalProperty::replace(), and ExtrapolatedLocalProperty::write().

void BufferedLocalProperty::write int  start,
const string &  newdata
[virtual]
 

Write newdata into property value, starting at byte position start.

Reimplemented from LocalProperty.

Reimplemented in ExtrapolatedLocalProperty.

Definition at line 54 of file bufferedproperty.cc.


Member Data Documentation

set< BufferedLocalProperty * > BufferedLocalProperty::allblps [static, protected]
 

Definition at line 27 of file bufferedproperty.cc.

Referenced by BufferedLocalProperty(), flushAll(), and ~BufferedLocalProperty().

bool BufferedLocalProperty::changed [protected]
 

Definition at line 45 of file bufferedproperty.hh.

Referenced by ExtrapolatedLocalProperty::flush(), flush(), replace(), and write().

int BufferedLocalProperty::changelen [protected]
 

Definition at line 47 of file bufferedproperty.hh.

Referenced by flush(), replace(), and write().

int BufferedLocalProperty::changestart [protected]
 

Definition at line 46 of file bufferedproperty.hh.

Referenced by flush(), replace(), and write().


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:52 2003 for Interreality Project - VOS by doxygen 1.3.2