CLAM::TypedOutControl< TypedControlData > Class Template Reference

Processing typed out control template class. More...

#include <TypedOutControl.hxx>

List of all members.

Public Member Functions

 TypedOutControl (const std::string &name="unnamed typed in control", Processing *proc=0)
 ~TypedOutControl ()
void AddLink (TypedInControl< TypedControlData > &in)
void AddLink (BaseTypedInControl &in)
void RemoveLink (TypedInControl< TypedControlData > &in)
void RemoveLink (BaseTypedInControl &in)
void SendControl (const TypedControlData &val)
bool IsConnected ()
bool IsConnectedTo (TypedInControl< TypedControlData > &)
bool IsConnectedTo (BaseTypedInControl &in)
bool IsLinkable (const BaseTypedInControl &in)
std::list< BaseTypedInControl * >
::iterator 
BeginInControlsConnected ()
std::list< BaseTypedInControl * >
::iterator 
EndInControlsConnected ()

Protected Attributes

std::list< BaseTypedInControl * > mLinks


Detailed Description

template<class TypedControlData>
class CLAM::TypedOutControl< TypedControlData >

Processing typed out control template class.

Definition at line 19 of file TypedOutControl.hxx.


Constructor & Destructor Documentation

template<class TypedControlData >
CLAM::TypedOutControl< TypedControlData >::TypedOutControl ( const std::string &  name = "unnamed typed in control",
Processing proc = 0 
) [inline]

Definition at line 53 of file TypedOutControl.hxx.

template<class TypedControlData >
CLAM::TypedOutControl< TypedControlData >::~TypedOutControl (  )  [inline]


Member Function Documentation

template<class TypedControlData >
void CLAM::TypedOutControl< TypedControlData >::AddLink ( BaseTypedInControl in  )  [inline, virtual]

Warning:
You should call IsLinkable before using the Link function or you'll get an assert failure if In and Out Control types are different.

Implements CLAM::BaseTypedOutControl.

Definition at line 77 of file TypedOutControl.hxx.

References CLAM::TypedOutControl< TypedControlData >::AddLink(), and CLAM_ASSERT.

template<class TypedControlData >
void CLAM::TypedOutControl< TypedControlData >::AddLink ( TypedInControl< TypedControlData > &  in  )  [inline]

template<class TypedControlData >
std::list< BaseTypedInControl * >::iterator CLAM::TypedOutControl< TypedControlData >::BeginInControlsConnected (  )  [inline, virtual]

template<class TypedControlData >
std::list< BaseTypedInControl * >::iterator CLAM::TypedOutControl< TypedControlData >::EndInControlsConnected (  )  [inline, virtual]

template<class TypedControlData >
bool CLAM::TypedOutControl< TypedControlData >::IsConnected (  )  [inline, virtual]

template<class TypedControlData >
bool CLAM::TypedOutControl< TypedControlData >::IsConnectedTo ( BaseTypedInControl in  )  [inline, virtual]

template<class TypedControlData >
bool CLAM::TypedOutControl< TypedControlData >::IsConnectedTo ( TypedInControl< TypedControlData > &  in  )  [inline]

template<class TypedControlData >
bool CLAM::TypedOutControl< TypedControlData >::IsLinkable ( const BaseTypedInControl in  )  [inline, virtual]

template<class TypedControlData >
void CLAM::TypedOutControl< TypedControlData >::RemoveLink ( BaseTypedInControl in  )  [inline, virtual]

template<class TypedControlData >
void CLAM::TypedOutControl< TypedControlData >::RemoveLink ( TypedInControl< TypedControlData > &  in  )  [inline]

template<class TypedControlData >
void CLAM::TypedOutControl< TypedControlData >::SendControl ( const TypedControlData &  val  )  [inline]


Member Data Documentation

template<class TypedControlData>
std::list< BaseTypedInControl * > CLAM::TypedOutControl< TypedControlData >::mLinks [protected]


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

Generated on Tue Feb 22 09:53:28 2011 for CLAM-Development by  doxygen 1.5.9