Double property class. More...

#include <property.h>

Inheritance diagram for DoubleProperty:
Inheritance graph
Collaboration diagram for DoubleProperty:
Collaboration graph

Detailed Description

Double property class.

Public Member Functions

 DoubleProperty (const char *newKey, double newValue, bool readOnly)
 
 DoubleProperty (const char *newKey, double newValue, bool readOnly, Driver *driver, ConfigFile *cf, int section)
 Constructor that registers the property with a driver as well while it is constructed.
 
double GetValue (void) const
 
void SetValue (double newValue)
 
void GetValueToMessage (void *data) const
 
void SetValueFromMessage (const void *data)
 
virtual bool ReadConfig (ConfigFile *cf, int section)
 
 operator double (void)
 
const DoublePropertyoperator= (const DoubleProperty &rhs)
 
double operator= (double rhs)
 
- Public Member Functions inherited from Property
 Property (const char *newKey, bool readOnly)
 
virtual const char * GetKey (void) const
 
virtual void SetKey (const char *newKey)
 
virtual bool KeyIsEqual (const char *rhs)
 

Private Attributes

double value
 

Additional Inherited Members

- Protected Attributes inherited from Property
char * key
 
bool readonly
 

Member Function Documentation

◆ GetValueToMessage()

void DoubleProperty::GetValueToMessage ( void * data) const
virtual

Implements Property.

◆ ReadConfig()

virtual bool DoubleProperty::ReadConfig ( ConfigFile * cf,
int section )
virtual

Implements Property.

◆ SetValueFromMessage()

void DoubleProperty::SetValueFromMessage ( const void * data)
virtual

Implements Property.


The documentation for this class was generated from the following file: