CLAM::InControlPublisher Class Reference

#include <InControlPublisher.hxx>

List of all members.

Public Member Functions

 InControlPublisher ()
 InControlPublisher (const std::string &name, Processing *father)
void PublishInControl (FloatInControl &in)
void DoControl (const TControlData &val)
 The control receives a value when this method gets called. Associated callback if any, gets triggered on result. Connected OutControl may trigger it but it also may be called directly, for example to set the initial value.
const TControlDataGetLastValue () const
 Returns the last received value.

Detailed Description

Definition at line 11 of file InControlPublisher.hxx.


Constructor & Destructor Documentation

CLAM::InControlPublisher::InControlPublisher (  )  [inline]

Definition at line 16 of file InControlPublisher.hxx.

References NULL.

CLAM::InControlPublisher::InControlPublisher ( const std::string &  name,
Processing father 
) [inline]

Definition at line 22 of file InControlPublisher.hxx.

References NULL.


Member Function Documentation

void CLAM::InControlPublisher::DoControl ( const TControlData val  )  [inline, virtual]

The control receives a value when this method gets called. Associated callback if any, gets triggered on result. Connected OutControl may trigger it but it also may be called directly, for example to set the initial value.

Reimplemented from CLAM::InControl< float >.

Definition at line 32 of file InControlPublisher.hxx.

References CLAM::InControl< ControlDataType >::DoControl().

Referenced by CLAM::SegmentTransformation::ConcreteConfigure(), and CLAM::SegmentTransformation::UpdateControlValueFromBPF().

const TControlData& CLAM::InControlPublisher::GetLastValue (  )  const [inline, virtual]

Returns the last received value.

Reimplemented from CLAM::InControl< float >.

Definition at line 39 of file InControlPublisher.hxx.

References CLAM::InControl< ControlDataType >::GetLastValue(), and CLAM::InControl< float >::mLastValue.

void CLAM::InControlPublisher::PublishInControl ( FloatInControl in  )  [inline]

Definition at line 28 of file InControlPublisher.hxx.


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