#include <InControlPublisher.hxx>
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 TControlData & | GetLastValue () const |
Returns the last received value. |
Definition at line 11 of file InControlPublisher.hxx.
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.
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.