BASE::RCNumericParamHandlerBase Class Reference

Parameter handler for numerical data types. More...

Inherited by BASE::TRCNumericParamHandler< TData >, BASE::TRCNumericParamHandler< TReal >, and BASE::TRCNumericParamHandler< TWord >.

Inheritance diagram for BASE::RCNumericParamHandlerBase:

Inheritance graph
[legend]
Collaboration diagram for BASE::RCNumericParamHandlerBase:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void TParam

Public Member Functions

 RCNumericParamHandlerBase (TDouble nMinValue, TDouble nMaxValue, TDouble nAccuracy=1.0, TDouble nViewScale=1.0, const RCString &sUnit=_T(""))
TSLong GetMinLong () const
TSLong GetMaxLong () const
TSLong GetValueLong (const void *pData) const
void SetValueLong (void *pData, TSLong nValue) const
virtual TDouble GetValue (const void *pData) const =0
virtual void SetValue (void *pData, TDouble nValue) const =0

Public Attributes

const TDouble m_nMinValue
const TDouble m_nMaxValue
const TDouble m_nAccuracy
const TDouble m_nViewScale
const RCString m_sUnit

Static Public Attributes

static const RCString POS_INFINITE = _T("Infinite")
static const RCString NEG_INFINITE = _T("-Infinite")

Detailed Description

Parameter handler for numerical data types.

Author:
Patrik Stellmann
This parameter handler is designed for numerical data types. Since all numbers can be converted to and from a double they are all converted from and to a string using the constructor RCString(TDouble nValue) and the member function RCString::Value(TDouble& nValueRef). The contructor arguments are used by the edit dialog.


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:46:37 2006 for Simulator Bob by  doxygen 1.4.6-NO