PAC-Suite 2.0(r200)
Public Member Functions | Protected Member Functions

PropertyBranchInterface Class Reference

#include <PropertyBranchInterface.h>

Inheritance diagram for PropertyBranchInterface:

List of all members.

Public Member Functions

virtual ~PropertyBranchInterface ()
virtual void setParentBranch (PropertyBranchInterface *p=0)=0
virtual PropertyBranchInterfaceparentBranch ()=0
virtual const
PropertyBranchInterface
parentBranch () const =0
virtual void setBranchName (QString name)=0
virtual QString branchName () const =0
virtual QStringList branchNamePath () const =0
virtual void setQSettingsSubBranch (QString qsprefix=QString())=0
virtual QString qSettingsSubBranch () const =0
virtual QString qSettingsPath () const =0
virtual void setBranchProperty (TransmittableProperty *p)=0
virtual TransmittableProperty * transmittableBranchProperty () const =0
virtual void forwardPropertyUpdate (TransmittablePropertyData &u)=0
 Forwards adequate updates and returns false for others.
virtual void forwardConfirmationData (const TransmittablePropertyData *d) const =0
 Forwards confirmations to the parent branch. MUST be redefined as a thread-safe method for the root branch!
virtual void forwardNewProperty (const TransmittableProperty *p) const =0
 Forwards newly arisen properties to the root of the property tree.
virtual void forwardChildProperties () const =0
 Forwards all child properties as new ones (called if ready made subtree gets a new parent node)
virtual QList< const
TransmittableProperty * > 
childProperties () const =0
 returns a list containing all heir properties
virtual void addChild (PropertyBranchInterface *child)=0
 called by setParentBranch()!
virtual void removeChild (PropertyBranchInterface *child)=0
virtual void addProperty (TransmittableProperty *property) const =0
 called by TransmittableProperty
virtual void removeProperty (TransmittableProperty *property) const =0
virtual void childPropertyChanged (TransmittableProperty *p)=0
 Method that can be reimplemented to catch downstream changes.

Protected Member Functions

virtual void propertyChanged (TransmittableProperty *p)=0
 Method that can be reimplemented to catch changes to properties or send them to the parent's childPropertyChanged()

Constructor & Destructor Documentation

virtual PropertyBranchInterface::~PropertyBranchInterface ( ) [inline, virtual]

Member Function Documentation

virtual void PropertyBranchInterface::addChild ( PropertyBranchInterface child) [pure virtual]

called by setParentBranch()!

virtual void PropertyBranchInterface::addProperty ( TransmittableProperty *  property) const [pure virtual]

called by TransmittableProperty

virtual QString PropertyBranchInterface::branchName ( ) const [pure virtual]
virtual QStringList PropertyBranchInterface::branchNamePath ( ) const [pure virtual]
virtual QList<const TransmittableProperty*> PropertyBranchInterface::childProperties ( ) const [pure virtual]

returns a list containing all heir properties

virtual void PropertyBranchInterface::childPropertyChanged ( TransmittableProperty *  p) [pure virtual]

Method that can be reimplemented to catch downstream changes.

virtual void PropertyBranchInterface::forwardChildProperties ( ) const [pure virtual]

Forwards all child properties as new ones (called if ready made subtree gets a new parent node)

virtual void PropertyBranchInterface::forwardConfirmationData ( const TransmittablePropertyData *  d) const [pure virtual]

Forwards confirmations to the parent branch. MUST be redefined as a thread-safe method for the root branch!

virtual void PropertyBranchInterface::forwardNewProperty ( const TransmittableProperty *  p) const [pure virtual]

Forwards newly arisen properties to the root of the property tree.

virtual void PropertyBranchInterface::forwardPropertyUpdate ( TransmittablePropertyData &  u) [pure virtual]

Forwards adequate updates and returns false for others.

virtual PropertyBranchInterface* PropertyBranchInterface::parentBranch ( ) [pure virtual]
virtual const PropertyBranchInterface* PropertyBranchInterface::parentBranch ( ) const [pure virtual]
virtual void PropertyBranchInterface::propertyChanged ( TransmittableProperty *  p) [protected, pure virtual]

Method that can be reimplemented to catch changes to properties or send them to the parent's childPropertyChanged()

virtual QString PropertyBranchInterface::qSettingsPath ( ) const [pure virtual]
virtual QString PropertyBranchInterface::qSettingsSubBranch ( ) const [pure virtual]
virtual void PropertyBranchInterface::removeChild ( PropertyBranchInterface child) [pure virtual]
virtual void PropertyBranchInterface::removeProperty ( TransmittableProperty *  property) const [pure virtual]
virtual void PropertyBranchInterface::setBranchName ( QString  name) [pure virtual]
virtual void PropertyBranchInterface::setBranchProperty ( TransmittableProperty *  p) [pure virtual]
virtual void PropertyBranchInterface::setParentBranch ( PropertyBranchInterface p = 0) [pure virtual]
virtual void PropertyBranchInterface::setQSettingsSubBranch ( QString  qsprefix = QString()) [pure virtual]
virtual TransmittableProperty* PropertyBranchInterface::transmittableBranchProperty ( ) const [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Enumerations Enumerator Defines