Public Types | Public Member Functions | Protected Member Functions | List of all members
imeas::CNumericConstraintsComp Class Reference

Simple implementation of imeas::INumericConstraints interface. More...

#include <CNumericConstraintsComp.h>

Inheritance diagram for imeas::CNumericConstraintsComp:
icomp::CComponentBase imeas::INumericConstraints imath::IUnitInfo imath::CDoubleManip iprm::IOptionsList icomp::IComponent istd::IChangeable istd::IPolymorphic imath::IDoubleManip istd::IChangeable istd::IPolymorphic istd::IPolymorphic imath::TIValueManip< double > istd::IPolymorphic istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 

Public Member Functions

virtual const iprm::IOptionsListGetValueListInfo () const
 Get general information about the "content" of the numeric value. More...
 
virtual const imath::IUnitInfoGetNumericValueUnitInfo (int index) const
 Get range of possible numeric values for specified list index. More...
 
- Public Member Functions inherited from icomp::IComponent
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const =0
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
 
virtual const IComponentContextGetComponentContext () const =0
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)=0
 

Protected Member Functions

virtual int GetUnitType () const
 
virtual QString GetUnitName () const
 
virtual double GetDisplayMultiplicationFactor () const
 
virtual istd::CRange GetValueRange () const
 
virtual const imath::IDoubleManipGetValueManip () const
 
virtual int GetPrecision () const
 
virtual int GetOptionsFlags () const
 
virtual int GetOptionsCount () const
 
virtual QString GetOptionName (int index) const
 
virtual QString GetOptionDescription (int index) const
 
virtual QByteArray GetOptionId (int index) const
 
virtual bool IsOptionEnabled (int index) const
 
virtual void OnComponentCreated ()
 
- Protected Member Functions inherited from imath::CDoubleManip
virtual double GetRounded (const double &value) const
 
virtual bool IsEqual (const double &value1, const double &value2) const
 
virtual bool IsSmaller (const double &value1, const double &value2) const
 
virtual bool IsSmallerEqual (const double &value1, const double &value2) const
 
virtual double GetSmallerValue (const double &value) const
 
virtual double GetBiggerValue (const double &value) const
 
virtual QString GetString (const double &value) const
 
virtual bool GetParsed (const QString &text, double &result) const
 

Detailed Description

Simple implementation of imeas::INumericConstraints interface.

All values use the same units and ranges.

Definition at line 25 of file CNumericConstraintsComp.h.

Member Typedef Documentation

Definition at line 33 of file CNumericConstraintsComp.h.

Member Function Documentation

virtual double imeas::CNumericConstraintsComp::GetDisplayMultiplicationFactor ( ) const
protectedvirtual

Implements imath::IUnitInfo.

virtual const imath::IUnitInfo* imeas::CNumericConstraintsComp::GetNumericValueUnitInfo ( int  index) const
virtual

Get range of possible numeric values for specified list index.

Parameters
indexindex of numeric value.

Implements imeas::INumericConstraints.

virtual QString imeas::CNumericConstraintsComp::GetOptionDescription ( int  index) const
protectedvirtual
virtual QByteArray imeas::CNumericConstraintsComp::GetOptionId ( int  index) const
protectedvirtual
virtual QString imeas::CNumericConstraintsComp::GetOptionName ( int  index) const
protectedvirtual
virtual int imeas::CNumericConstraintsComp::GetOptionsCount ( ) const
protectedvirtual
virtual int imeas::CNumericConstraintsComp::GetOptionsFlags ( ) const
protectedvirtual
virtual int imeas::CNumericConstraintsComp::GetPrecision ( ) const
protectedvirtual

Reimplemented from imath::CDoubleManip.

virtual QString imeas::CNumericConstraintsComp::GetUnitName ( ) const
protectedvirtual

Implements imath::IUnitInfo.

virtual int imeas::CNumericConstraintsComp::GetUnitType ( ) const
protectedvirtual

Implements imath::IUnitInfo.

virtual const iprm::IOptionsList& imeas::CNumericConstraintsComp::GetValueListInfo ( ) const
virtual

Get general information about the "content" of the numeric value.

Implements imeas::INumericConstraints.

virtual const imath::IDoubleManip& imeas::CNumericConstraintsComp::GetValueManip ( ) const
protectedvirtual

Implements imath::IUnitInfo.

virtual istd::CRange imeas::CNumericConstraintsComp::GetValueRange ( ) const
protectedvirtual

Implements imath::IUnitInfo.

virtual bool imeas::CNumericConstraintsComp::IsOptionEnabled ( int  index) const
protectedvirtual
virtual void imeas::CNumericConstraintsComp::OnComponentCreated ( )
protectedvirtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy