CLAM::OutControl< ControlDataType > Class Template Reference

Processing typed out control template class. More...

#include <OutControl.hxx>

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>
virtual const std::type_info& CLAM::OutControl< ControlDataType >::GetTypeId (  )  const [inline, virtual]

Implements CLAM::OutControlBase.

Definition at line 52 of file OutControl.hxx.

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().

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

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3