libTransmittableProperty 2.0(r200)
Serializeable Parameter Objects
Public Types | Public Member Functions | Static Public Member Functions

TransmittableProperty Class Reference

#include <TransmittableProperty.h>

List of all members.

Public Types

enum  TransmittableDataType {
  Invalid, Group, Enum, Flag,
  Int, Double, Bool, String,
  Size
}

Public Member Functions

 TransmittableProperty ()
 TransmittableProperty (QString name, TransmittableDataType type)
 TransmittableProperty (QByteArray &serialized)
 ~TransmittableProperty ()
 copy constructor
virtual void setName (const QString &name)
virtual QString name () const
virtual void setValue (const QVariant &value)
virtual void setValue (const QVariant &value, TransmittableDataType type)
virtual void updateValue (const QVariant &value)
 Called by QtPropertyManager-update-slot.
virtual bool updateValue (const TransmittablePropertyData &u)
 receiver for update-objects in PacMan
virtual bool updated () const
virtual QVariant value (bool sendconfirmation=true) const
 confirms readout by default
virtual void setAttribute (const QString &name, const QVariant &value)
virtual QVariant attribute (const QString &name) const
virtual void setDisplayMagnitude (qreal divider)
 displayed numbers are divided by divider
virtual void setToolTip (const QString &tt)
virtual QString toolTip () const
virtual void setDataType (TransmittableDataType type)
virtual TransmittableDataType dataType () const
virtual void setQSettingsKey (const QString &key)
virtual QString qSettingsKey () const
virtual void setDefaultValue (const QVariant &def)
virtual void loadFromQSettings ()
virtual void saveToQSettings () const
virtual QByteArray serialize () const
virtual TransmittablePropertyData transmittablePropertyUpdate () const
virtual QtVariantProperty * addToPropertyManager (QtVariantPropertyManager *manager)
virtual QtVariantProperty * qtProperty () const
virtual void setParentBranch (PropertyBranchInterface *p)
virtual const
PropertyBranchInterface
parentBranch ()
virtual quint64 parentPropertyHash () const
virtual quint64 hash () const
virtual void addDependentProperty (TransmittableProperty *dependent)
virtual QList< quint64 > dependentPropertyHashes () const
virtual operator double () const
virtual operator int () const
virtual operator unsigned int () const
virtual operator bool () const
virtual operator QString () const

Static Public Member Functions

static QStringList allowedAttributes (TransmittableDataType type)

Detailed Description

Author:
Matthias Nagl <mnagl@uni-goettingen.de>

Member Enumeration Documentation

Enumerator:
Invalid 
Group 
Enum 
Flag 
Int 
Double 
Bool 
String 
Size 

Constructor & Destructor Documentation

TransmittableProperty::TransmittableProperty ( )
TransmittableProperty::TransmittableProperty ( QString  name,
TransmittableDataType  type 
)
TransmittableProperty::TransmittableProperty ( QByteArray &  serialized)
TransmittableProperty::~TransmittableProperty ( )

copy constructor


Member Function Documentation

void TransmittableProperty::addDependentProperty ( TransmittableProperty dependent) [virtual]
QtVariantProperty * TransmittableProperty::addToPropertyManager ( QtVariantPropertyManager *  manager) [virtual]
QStringList TransmittableProperty::allowedAttributes ( TransmittableDataType  type) [static]
virtual QVariant TransmittableProperty::attribute ( const QString &  name) const [inline, virtual]
virtual TransmittableDataType TransmittableProperty::dataType ( ) const [inline, virtual]
virtual QList<quint64> TransmittableProperty::dependentPropertyHashes ( ) const [inline, virtual]
virtual quint64 TransmittableProperty::hash ( ) const [inline, virtual]
void TransmittableProperty::loadFromQSettings ( ) [virtual]
virtual QString TransmittableProperty::name ( ) const [inline, virtual]
TransmittableProperty::operator bool ( ) const [virtual]
TransmittableProperty::operator double ( ) const [virtual]
TransmittableProperty::operator int ( ) const [virtual]
TransmittableProperty::operator QString ( ) const [virtual]
TransmittableProperty::operator unsigned int ( ) const [virtual]
virtual const PropertyBranchInterface* TransmittableProperty::parentBranch ( ) [inline, virtual]
virtual quint64 TransmittableProperty::parentPropertyHash ( ) const [inline, virtual]
virtual QString TransmittableProperty::qSettingsKey ( ) const [inline, virtual]
virtual QtVariantProperty* TransmittableProperty::qtProperty ( ) const [inline, virtual]
void TransmittableProperty::saveToQSettings ( ) const [virtual]
QByteArray TransmittableProperty::serialize ( ) const [virtual]
void TransmittableProperty::setAttribute ( const QString &  name,
const QVariant &  value 
) [virtual]
void TransmittableProperty::setDataType ( TransmittableDataType  type) [virtual]
virtual void TransmittableProperty::setDefaultValue ( const QVariant &  def) [inline, virtual]
virtual void TransmittableProperty::setDisplayMagnitude ( qreal  divider) [inline, virtual]

displayed numbers are divided by divider

virtual void TransmittableProperty::setName ( const QString &  name) [inline, virtual]
void TransmittableProperty::setParentBranch ( PropertyBranchInterface p) [virtual]
virtual void TransmittableProperty::setQSettingsKey ( const QString &  key) [inline, virtual]
virtual void TransmittableProperty::setToolTip ( const QString &  tt) [inline, virtual]
void TransmittableProperty::setValue ( const QVariant &  value) [virtual]
void TransmittableProperty::setValue ( const QVariant &  value,
TransmittableDataType  type 
) [virtual]
virtual QString TransmittableProperty::toolTip ( ) const [inline, virtual]
TransmittablePropertyData TransmittableProperty::transmittablePropertyUpdate ( ) const [virtual]
virtual bool TransmittableProperty::updated ( ) const [inline, virtual]
void TransmittableProperty::updateValue ( const QVariant &  value) [virtual]

Called by QtPropertyManager-update-slot.

bool TransmittableProperty::updateValue ( const TransmittablePropertyData u) [virtual]

receiver for update-objects in PacMan

QVariant TransmittableProperty::value ( bool  sendconfirmation = true) const [virtual]

confirms readout by default


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Defines