CLAM::OutPort< Token > Class Template Reference

#include <OutPort.hxx>

List of all members.

Public Member Functions

 OutPort (const std::string &name="unnamed out port", Processing *proc=0)
virtual ~OutPort ()
void DisconnectFromAll ()
void ConnectToIn (InPortBase &in)
void ConnectToConcreteIn (InPort< Token > &in)
void DisconnectFromIn (InPortBase &in)
void DisconnectFromConcreteIn (InPort< Token > &in)
bool IsConnectableTo (InPortBase &in)
bool IsVisuallyConnectedTo (InPortBase &in)
bool IsPhysicallyConnectedToIn (InPort< Token > &)
InPortPublisher< Token > * GetPublisherContaining (InPort< Token > &)
Token & GetData (int offset=0)
void SetSize (int newSize)
int GetSize ()
int GetHop ()
void SetHop (int hop)
void Produce ()
bool CanProduce ()
void CenterEvenRegions ()
void UnpublishOutPort ()
virtual const std::type_info & GetTypeId () const
Token & GetLastWrittenData (int offset=0)

Protected Member Functions

bool ConnectToPublisher (ProperInPortPublisher &in)
bool TryDisconnectFromPublisher (InPortBase &in)
bool TryDisconnectFromConcreteIn (InPortBase &in)

Protected Attributes

ProperWritingRegion mRegion

Detailed Description

template<typename Token>
class CLAM::OutPort< Token >

Definition at line 74 of file OutPort.hxx.


Constructor & Destructor Documentation

template<class Token >
CLAM::OutPort< Token >::OutPort ( const std::string &  name = "unnamed out port",
Processing proc = 0 
) [inline]

Definition at line 121 of file OutPort.hxx.

template<class Token >
CLAM::OutPort< Token >::~OutPort (  )  [inline, virtual]

Definition at line 138 of file OutPort.hxx.

References CLAM::OutPort< Token >::DisconnectFromAll().


Member Function Documentation

template<class Token >
bool CLAM::OutPort< Token >::CanProduce (  )  [inline, virtual]
template<class Token >
void CLAM::OutPort< Token >::CenterEvenRegions (  )  [inline, virtual]
template<class Token>
void CLAM::OutPort< Token >::ConnectToConcreteIn ( InPort< Token > &  in  )  [inline]
template<class Token >
void CLAM::OutPort< Token >::ConnectToIn ( InPortBase in  )  [inline, virtual]
template<typename Token>
bool CLAM::OutPort< Token >::ConnectToPublisher ( ProperInPortPublisher in  )  [protected]
template<class Token >
void CLAM::OutPort< Token >::DisconnectFromAll (  )  [inline, virtual]
template<class Token>
void CLAM::OutPort< Token >::DisconnectFromConcreteIn ( InPort< Token > &  in  )  [inline]
template<class Token >
void CLAM::OutPort< Token >::DisconnectFromIn ( InPortBase in  )  [inline, virtual]
template<class Token >
Token & CLAM::OutPort< Token >::GetData ( int  offset = 0  )  [inline]

Definition at line 243 of file OutPort.hxx.

References CLAM::OutPort< Token >::mRegion.

Referenced by CLAM::WaveGenerator::Do(), CLAM::Vocoder::Do(), CLAM::TokenDelay< T >::Do(), CLAM::SynthSineSpectrum::Do(), CLAM::SpectrumAdder2::Do(), CLAM::SpectralSpread::Do(), CLAM::SpectralShapeShift::Do(), CLAM::SpectralRingModulation::Do(), CLAM::SpectralReverse::Do(), CLAM::SpectralReject::Do(), CLAM::SpectralPhaseModulation::Do(), CLAM::SpectralPeakDetect::Do(), CLAM::SpectralPeakArrayInterpolator::Do(), CLAM::SpectralNotch::Do(), CLAM::SpectralLimiter::Do(), CLAM::SpectralGate::Do(), CLAM::SpectralFocus::Do(), CLAM::SpectralExciter::Do(), CLAM::SpectralDelay::Do(), CLAM::SpectralCombTriang::Do(), CLAM::SpectralCombDelta::Do(), CLAM::SpectralAverage::Do(), CLAM::SpectralAnalysis::Do(), CLAM::SpectralAmplitudeModulation::Do(), CLAM::SMSTranspose::Do(), CLAM::SMSTimeStretch::Do(), CLAM::SMSSpectralShapeShift::Do(), CLAM::SMSSinusoidalGain::Do(), CLAM::SMSSineFilter::Do(), CLAM::SMSResidualGain::Do(), CLAM::SMSPitchShift::Do(), CLAM::SMSPitchDiscretization::Do(), CLAM::SMSOddEvenHarmonicRatio::Do(), CLAM::SMSMorph::Do(), CLAM::SMSHarmonizer::Do(), CLAM::SMSGenderChange::Do(), CLAM::SMSFreqShift::Do(), CLAM::SMSDeesser::Do(), CLAM::SinTracking::Do(), CLAM::SDIFIn::Do(), CLAM::SampleAndHold::Do(), CLAM::Robotization::Do(), CLAM::RandomPhase::Do(), CLAM::Peakalizer::Do(), CLAM::Partializer::Do(), CLAM::OscillatingSpectralNotch::Do(), CLAM::NoSpectralTransformation::Do(), CLAM::HumRemover::Do(), CLAM::FundFreqDetect::Do(), CLAM::FreqShift::Do(), CLAM::FFT_ooura::Do(), CLAM::FFT_fftw3::Do(), CLAM::EnvelopeGenerator::Do(), CLAM::Deesser::Do(), CLAM::ThreeBandAM::Do(), CLAM::ThreeBandGate::Do(), CLAM::ThreeBandFilter::Do(), CLAM::ThreeBandCompressor::Do(), CLAM::MIDI2Melody::GenerateOutputData(), and CLAM::OutPortPublisher< Spectrum >::GetData().

template<class Token >
int CLAM::OutPort< Token >::GetHop (  )  [inline, virtual]
template<class Token >
Token & CLAM::OutPort< Token >::GetLastWrittenData ( int  offset = 0  )  [inline]
template<class Token>
InPortPublisher< Token > * CLAM::OutPort< Token >::GetPublisherContaining ( InPort< Token > &  in  )  [inline]
template<class Token >
int CLAM::OutPort< Token >::GetSize (  )  [inline, virtual]
template<typename Token>
virtual const std::type_info& CLAM::OutPort< Token >::GetTypeId (  )  const [inline, virtual]

Implements CLAM::OutPortBase.

Definition at line 104 of file OutPort.hxx.

Referenced by CLAM::OutPort< Token >::IsConnectableTo().

template<class Token >
bool CLAM::OutPort< Token >::IsConnectableTo ( InPortBase in  )  [inline, virtual]
template<class Token>
bool CLAM::OutPort< Token >::IsPhysicallyConnectedToIn ( InPort< Token > &  in  )  [inline]
template<class Token >
bool CLAM::OutPort< Token >::IsVisuallyConnectedTo ( InPortBase in  )  [inline, virtual]
template<class Token >
void CLAM::OutPort< Token >::Produce (  )  [inline]

Definition at line 273 of file OutPort.hxx.

References CLAM::OutPort< Token >::mRegion, and CLAM::WritingRegion< Token, DataStructure >::Produce().

Referenced by CLAM::WindowGenerator::Do(), CLAM::WaveGenerator::Do(), CLAM::Vocoder::Do(), CLAM::TokenDelay< T >::Do(), CLAM::SynthSineSpectrum::Do(), CLAM::SpectrumAdder2::Do(), CLAM::SpectralSynthesis::Do(), CLAM::SpectralSpread::Do(), CLAM::SpectralShapeShift::Do(), CLAM::SpectralRingModulation::Do(), CLAM::SpectralReverse::Do(), CLAM::SpectralReject::Do(), CLAM::SpectralPhaseModulation::Do(), CLAM::SpectralPeakDetect::Do(), CLAM::SpectralNotch::Do(), CLAM::SpectralLimiter::Do(), CLAM::SpectralGate::Do(), CLAM::SpectralFocus::Do(), CLAM::SpectralExciter::Do(), CLAM::SpectralDelay::Do(), CLAM::SpectralCombTriang::Do(), CLAM::SpectralCombDelta::Do(), CLAM::SpectralAverage::Do(), CLAM::SpectralAnalysis::Do(), CLAM::SpectralAmplitudeModulation::Do(), CLAM::SMSTranspose::Do(), CLAM::SMSTimeStretch::Do(), CLAM::SMSSpectralShapeShift::Do(), CLAM::SMSSinusoidalGain::Do(), CLAM::SMSSineFilter::Do(), CLAM::SMSResidualGain::Do(), CLAM::SMSPitchShift::Do(), CLAM::SMSPitchDiscretization::Do(), CLAM::SMSOddEvenHarmonicRatio::Do(), CLAM::SMSMorph::Do(), CLAM::SMSHarmonizer::Do(), CLAM::SMSGenderChange::Do(), CLAM::SMSFreqShift::Do(), CLAM::SMSDeesser::Do(), CLAM::SimpleOscillator::Do(), CLAM::SampleAndHold::Do(), CLAM::Robotization::Do(), CLAM::RandomPhase::Do(), CLAM::Peakalizer::Do(), CLAM::Partializer::Do(), CLAM::OverlapAdd::Do(), CLAM::Oscillator::Do(), CLAM::OscillatingSpectralNotch::Do(), CLAM::NoSpectralTransformation::Do(), CLAM::Instrument::Do(), CLAM::IFFT_ooura::Do(), CLAM::HumRemover::Do(), CLAM::FundFreqDetect::Do(), CLAM::FreqShift::Do(), CLAM::FFT_ooura::Do(), CLAM::FFT_fftw3::Do(), CLAM::EnvelopeGenerator::Do(), CLAM::Deesser::Do(), CLAM::CircularShift::Do(), CLAM::BinaryAudioOp< Multiply< TData > >::Do(), CLAM::AudioMixer::Do(), CLAM::ThreeBandAM::Do(), CLAM::ThreeBandGate::Do(), CLAM::ThreeBandFilter::Do(), CLAM::ThreeBandCompressor::Do(), and CLAM::IFFT_fftw3::SetPrototypes().

template<class Token >
void CLAM::OutPort< Token >::SetHop ( int  hop  )  [inline, virtual]
template<class Token >
void CLAM::OutPort< Token >::SetSize ( int  newSize  )  [inline, virtual]
template<class Token >
bool CLAM::OutPort< Token >::TryDisconnectFromConcreteIn ( InPortBase in  )  [inline, protected]
template<class Token >
bool CLAM::OutPort< Token >::TryDisconnectFromPublisher ( InPortBase in  )  [inline, protected]
template<typename Token>
void CLAM::OutPort< Token >::UnpublishOutPort (  )  [inline, virtual]

Implements CLAM::OutPortBase.

Definition at line 103 of file OutPort.hxx.


Member Data Documentation

template<typename Token>
ProperWritingRegion CLAM::OutPort< Token >::mRegion [protected]

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