CLAM::OutControl< ControlDataType > Class Template Reference

Processing typed out control template class. More...

#include <OutControl.hxx>

Inheritance diagram for CLAM::OutControl< ControlDataType >:

CLAM::OutControlBase CLAM::OutControlPublisher CLAM::TypedOutControl< ControlDataType >

List of all members.

Public Member Functions

 OutControl (const std::string &name="unnamed typed in control", Processing *proc=0)
void SendControl (const ControlDataType &val)
bool IsLinkable (const InControlBase &in)
 Returns whether the control can be connected to the provided in control.
virtual const std::type_info & GetTypeId () const


Detailed Description

template<class ControlDataType>
class CLAM::OutControl< ControlDataType >

Processing typed out control template class.

Definition at line 40 of file OutControl.hxx.


Constructor & Destructor Documentation

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

Definition at line 59 of file OutControl.hxx.


Member Function Documentation

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

template<class ControlDataType>
bool CLAM::OutControl< ControlDataType >::IsLinkable ( const InControlBase &  in  )  [inline, virtual]

Returns whether the control can be connected to the provided in control.

Concrete in controls redefine this function to provide or extend the set of conditions to be linkable.

Todo:
move here a base implementation by checking the typeid.

Implements CLAM::OutControlBase.

Definition at line 77 of file OutControl.hxx.

References CLAM::InControlBase::GetTypeId().

Referenced by CLAM::SendFloatToInControl().

template<class ControlDataType>
virtual const std::type_info& CLAM::OutControl< ControlDataType >::GetTypeId (  )  const [inline, virtual]

Implements CLAM::OutControlBase.

Definition at line 52 of file OutControl.hxx.


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

Generated on Mon Oct 18 20:35:57 2010 for CLAM-Development by  doxygen 1.5.6