CLAM-Development
1.4.0
|
Processing typed out control template class. More...
#include <OutControl.hxx>
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 |
![]() | |
OutControlBase (const std::string &name, Processing *proc=0) | |
Class constructor. | |
virtual | ~OutControlBase () |
Class destructor. | |
const std::string & | GetName () const |
Processing * | GetProcessing () const |
bool | IsConnected () |
bool | IsConnectedTo (InControlBase &in) |
void | AddLink (InControlBase &in) |
Set a connection with an in control. | |
void | RemoveLink (InControlBase &in) |
Unsets an existing link with the provided in control. | |
Peers::iterator | BeginInControlsConnected () |
Peers::iterator | EndInControlsConnected () |
Additional Inherited Members | |
![]() | |
typedef std::list < InControlBase * > | Peers |
![]() | |
OutControlBase (const OutControlBase &toBeCopied) | |
Private copy constructor to avoid copies. | |
![]() | |
Peers | mLinks |
Stores the pointers to the connected incontrols. |
Processing typed out control template class.
Definition at line 40 of file OutControl.hxx.
CLAM::OutControl< ControlDataType >::OutControl | ( | const std::string & | name = "unnamed typed in control" , |
Processing * | proc = 0 |
||
) |
Definition at line 59 of file OutControl.hxx.
|
inlinevirtual |
Implements CLAM::OutControlBase.
Definition at line 52 of file OutControl.hxx.
|
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.
Implements CLAM::OutControlBase.
Definition at line 77 of file OutControl.hxx.
References CLAM::InControlBase::GetTypeId().
Referenced by CLAM::SendFloatToInControl().
void CLAM::OutControl< ControlDataType >::SendControl | ( | const ControlDataType & | val | ) |
Definition at line 65 of file OutControl.hxx.
References CLAM::InControl< ControlDataType >::DoControl().
Referenced by CLAM::Normalization::ComputeScaleFactorFromAvgEnergy(), CLAM::Normalization::ComputeScaleFactorFromDominantEnergy(), CLAM::Normalization::ComputeScaleFactorFromMaxEnergy(), CLAM::AudioFileMemoryLoader::ConcreteConfigure(), CLAM::AudioFileMemoryLoader::ConcreteStart(), CLAM::FlagControl::Do(), CLAM::MonoAudioFileReader::Do(), CLAM::AudioFileMemoryLoader::Do(), CLAM::MultiChannelAudioFileReader::Do(), CLAM::MIDIKeyboard::Do(), CLAM::AutoPanner::Do(), CLAM::ControlFade::Do(), CLAM::Fund2MIDI::Do(), CLAM::FundFreqDetect::Do(), CLAM::ControlSource::Do(), CLAM::Fundamental2Control::Do(), CLAM::OutControlSender::Do(), CLAM::BinaryControlOp< BinOp >::Do(), CLAM::ControlPiano::DoCallback(), CLAM::ControlMapper::DoMap(), CLAM::ControlSelector::InControlCallback(), CLAM::OutControlSender::SendControl(), CLAM::SendFloatToInControl(), CLAM::SendFloatToOutControl(), CLAM::ControlPiano::SendMIDIMessage(), CLAM::Instrument::UpdateNote(), CLAM::Instrument::UpdateState(), CLAM::ADSR::UpdateState(), and CLAM::Instrument::UpdateVel().