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

Component implementating imeas::INumericValue interface. More...

#include <CNumericParamsComp.h>

Inheritance diagram for imeas::CNumericParamsComp:
icomp::CComponentBase imeas::CSimpleNumericValue imod::CSingleModelObserverBase icomp::IComponent imeas::INumericValue imod::IObserver istd::IPolymorphic iser::ISerializable istd::IPolymorphic istd::IChangeable istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 
typedef CSimpleNumericValue BaseClass2
 
- Public Types inherited from imeas::INumericValue
enum  ValueTypeId {
  VTI_AUTO = 0, VTI_WEIGHT, VTI_POSITION, VTI_RADIUS,
  VTI_SCALE, VTI_ANGLE, VTI_ALPHA, VTI_LENGTH,
  VTI_2D_TRANSFORM, VTI_2D_LINE
}
 Define standard numeric value types. More...
 

Public Member Functions

virtual const INumericConstraintsGetNumericConstraints () const
 Get parameter constraints describing possible parameter values. 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
 
- Public Member Functions inherited from imeas::CSimpleNumericValue
virtual bool IsValueTypeSupported (ValueTypeId valueTypeId) const
 Check if the given value type (or value component) is supported. More...
 
virtual imath::CVarVector GetComponentValue (ValueTypeId valueTypeId) const
 Get access to component value of the given type. More...
 
virtual imath::CVarVector GetValues () const
 Get list of numeric values. More...
 
virtual bool SetValues (const imath::CVarVector &values)
 Set list of numeric values. More...
 
virtual bool Serialize (iser::IArchive &archive)
 
virtual bool CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 

Protected Member Functions

virtual void OnUpdate (const istd::IChangeable::ChangeSet &changeSet)
 
virtual void OnComponentCreated ()
 
virtual void OnComponentDestroyed ()
 
- Protected Member Functions inherited from imod::IObserver
virtual bool IsModelAttached (const IModel *modelPtr=NULL) const =0
 
virtual bool OnModelAttached (IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask)=0
 
virtual bool OnModelDetached (IModel *modelPtr)=0
 
virtual void BeforeUpdate (IModel *modelPtr)=0
 
virtual void AfterUpdate (IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet)=0
 

Additional Inherited Members

- Protected Attributes inherited from imeas::CSimpleNumericValue
imath::CVarVector m_values
 

Detailed Description

Component implementating imeas::INumericValue interface.

All parameter constraints can be defined directly or can use external implementation.

Definition at line 24 of file CNumericParamsComp.h.

Member Typedef Documentation

Definition at line 30 of file CNumericParamsComp.h.

Definition at line 31 of file CNumericParamsComp.h.

Member Function Documentation

virtual const INumericConstraints* imeas::CNumericParamsComp::GetNumericConstraints ( ) const
virtual

Get parameter constraints describing possible parameter values.

Reimplemented from imeas::CSimpleNumericValue.

virtual void imeas::CNumericParamsComp::OnComponentCreated ( )
protectedvirtual
virtual void imeas::CNumericParamsComp::OnComponentDestroyed ( )
protectedvirtual
virtual void imeas::CNumericParamsComp::OnUpdate ( const istd::IChangeable::ChangeSet changeSet)
protectedvirtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy