#include <TypedInControl.hxx>
Definition at line 18 of file TypedInControl.hxx.
Public Member Functions | |
TypedInControl (const std::string &name="unnamed typed in control", Processing *proc=0) | |
~TypedInControl () | |
void | DoControl (const TypedControlData &val) |
const TypedControlData & | GetLastValue () const |
bool | GetLastValueAsBoolean () const |
ONLY TO USE WHEN TypedControlData == float. | |
int | GetLastValueAsInteger () const |
ONLY TO USE WHEN TypedControlData == float. | |
bool | IsConnected () const |
virtual const std::type_info & | ControlType () const |
void | OutControlInterface_AddLink (TypedOutControl< TypedControlData > &outControl) |
Implementation detail just to be used from OutControl. | |
void | OutControlInterface_RemoveLink (TypedOutControl< TypedControlData > &outControl) |
Implementation detail just to be used from OutControl. | |
Protected Attributes | |
TypedControlData | mLastValue |
std::list< BaseTypedOutControl * > | mLinks |
CLAM::TypedInControl< TypedControlData >::TypedInControl | ( | const std::string & | name = "unnamed typed in control" , |
|
Processing * | proc = 0 | |||
) | [inline] |
Definition at line 51 of file TypedInControl.hxx.
CLAM::TypedInControl< TypedControlData >::~TypedInControl | ( | ) | [inline] |
Definition at line 57 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLinks.
void CLAM::TypedInControl< TypedControlData >::DoControl | ( | const TypedControlData & | val | ) | [inline] |
Reimplemented in CLAM::CascadingTypedInControl< TypedControlData, ProcObj >.
Definition at line 64 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLastValue.
const TypedControlData & CLAM::TypedInControl< TypedControlData >::GetLastValue | ( | ) | const [inline] |
Definition at line 70 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLastValue.
bool CLAM::TypedInControl< TypedControlData >::GetLastValueAsBoolean | ( | ) | const [inline] |
ONLY TO USE WHEN TypedControlData == float.
Returns the last TypedControlData (float) received interpreted as a bool.
Definition at line 32 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLastValue.
int CLAM::TypedInControl< TypedControlData >::GetLastValueAsInteger | ( | ) | const [inline] |
ONLY TO USE WHEN TypedControlData == float.
Returns the last TControlData (float) received interpireted as an integer
Definition at line 37 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLastValue.
bool CLAM::TypedInControl< TypedControlData >::IsConnected | ( | ) | const [inline] |
Definition at line 76 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLinks.
virtual const std::type_info& CLAM::TypedInControl< TypedControlData >::ControlType | ( | ) | const [inline, virtual] |
void CLAM::TypedInControl< TypedControlData >::OutControlInterface_AddLink | ( | TypedOutControl< TypedControlData > & | outControl | ) | [inline] |
Implementation detail just to be used from OutControl.
Definition at line 82 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLinks.
Referenced by CLAM::TypedOutControl< TypedControlData >::AddLink().
void CLAM::TypedInControl< TypedControlData >::OutControlInterface_RemoveLink | ( | TypedOutControl< TypedControlData > & | outControl | ) | [inline] |
Implementation detail just to be used from OutControl.
Definition at line 88 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::mLinks.
Referenced by CLAM::TypedOutControl< TypedControlData >::RemoveLink().
TypedControlData CLAM::TypedInControl< TypedControlData >::mLastValue [protected] |
Definition at line 22 of file TypedInControl.hxx.
Referenced by CLAM::TypedInControl< TypedControlData >::DoControl(), CLAM::TypedInControl< TypedControlData >::GetLastValue(), CLAM::TypedInControl< TypedControlData >::GetLastValueAsBoolean(), and CLAM::TypedInControl< TypedControlData >::GetLastValueAsInteger().
std::list< BaseTypedOutControl * > CLAM::TypedInControl< TypedControlData >::mLinks [protected] |
Definition at line 23 of file TypedInControl.hxx.
Referenced by CLAM::TypedInControl< TypedControlData >::IsConnected(), CLAM::TypedInControl< TypedControlData >::OutControlInterface_AddLink(), CLAM::TypedInControl< TypedControlData >::OutControlInterface_RemoveLink(), and CLAM::TypedInControl< TypedControlData >::~TypedInControl().