CLAM::BaseTypedInControl Class Reference

#include <BaseTypedInControl.hxx>

Inheritance diagram for CLAM::BaseTypedInControl:

CLAM::TypedInControl< TypedControlData > CLAM::CascadingTypedInControl< TypedControlData, ProcObj >

List of all members.


Detailed Description

Processing in control base class.

Typed in controls base interface with some specific services for float ones.

Definition at line 16 of file BaseTypedInControl.hxx.


Public Member Functions

 BaseTypedInControl (const std::string &name, Processing *proc=0)
virtual ~BaseTypedInControl ()
virtual const std::type_info & ControlType () const =0
const std::string & GetName () const
ProcessingGetProcessing () const
Float specific services
bool IsBounded () const
float UpperBound () const
float LowerBound () const
float DefaultValue () const
 Returns the bounds mean or the value set with SetDefaultValue() if its the case.
void SetDefaultValue (float val)
void SetBounds (float lower, float upper)

Protected Attributes

float mDefaultValue
float mUpperBound
float mLowerBound
bool mBounded
bool mHasDefaultValue

Constructor & Destructor Documentation

CLAM::BaseTypedInControl::BaseTypedInControl ( const std::string &  name,
Processing proc = 0 
)

Definition at line 6 of file BaseTypedInControl.cxx.

References CLAM::Processing::RegisterTypedInControl().

CLAM::BaseTypedInControl::~BaseTypedInControl (  )  [virtual]


Member Function Documentation

virtual const std::type_info& CLAM::BaseTypedInControl::ControlType (  )  const [pure virtual]

const std::string& CLAM::BaseTypedInControl::GetName (  )  const [inline]

Definition at line 30 of file BaseTypedInControl.hxx.

Processing* CLAM::BaseTypedInControl::GetProcessing (  )  const [inline]

Definition at line 31 of file BaseTypedInControl.hxx.

bool CLAM::BaseTypedInControl::IsBounded (  )  const

Definition at line 22 of file BaseTypedInControl.cxx.

References mBounded.

float CLAM::BaseTypedInControl::UpperBound (  )  const

Definition at line 26 of file BaseTypedInControl.cxx.

References mUpperBound.

float CLAM::BaseTypedInControl::LowerBound (  )  const

Definition at line 30 of file BaseTypedInControl.cxx.

References mLowerBound.

float CLAM::BaseTypedInControl::DefaultValue (  )  const

Returns the bounds mean or the value set with SetDefaultValue() if its the case.

Definition at line 45 of file BaseTypedInControl.cxx.

References mDefaultValue, mHasDefaultValue, mLowerBound, and mUpperBound.

void CLAM::BaseTypedInControl::SetDefaultValue ( float  val  ) 

Definition at line 40 of file BaseTypedInControl.cxx.

References mDefaultValue, and mHasDefaultValue.

void CLAM::BaseTypedInControl::SetBounds ( float  lower,
float  upper 
)

Definition at line 34 of file BaseTypedInControl.cxx.

References mBounded, mLowerBound, and mUpperBound.


Member Data Documentation

Definition at line 20 of file BaseTypedInControl.hxx.

Referenced by DefaultValue(), and SetDefaultValue().

Definition at line 21 of file BaseTypedInControl.hxx.

Referenced by DefaultValue(), SetBounds(), and UpperBound().

Definition at line 22 of file BaseTypedInControl.hxx.

Referenced by DefaultValue(), LowerBound(), and SetBounds().

Definition at line 23 of file BaseTypedInControl.hxx.

Referenced by IsBounded(), and SetBounds().

Definition at line 24 of file BaseTypedInControl.hxx.

Referenced by DefaultValue(), and SetDefaultValue().


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

Generated on Tue Aug 12 22:33:47 2008 for CLAM by  doxygen 1.5.5