![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
A single output signal. More...
Inherits SmartPointerContainer< SmartPointerType, enableWeak >.
Public Member Functions | |
ChannelBase () throw () | |
Default constructor. | |
ChannelBase (Internal *internal) throw () | |
Construct a channel with a specific internal type. | |
ChannelBase (UnitType const &unit) throw () | |
Get the first channel from a one-channel unit. | |
ChannelBase (UnitBase< SampleType > const &unit) throw () | |
Get the first channel from a one-channel unit. | |
ChannelBase (ChannelBase const ©) throw () | |
Copy constructor. | |
ChannelBase & | operator= (ChannelBase const &other) throw () |
Assignment operator. | |
template<class ValueType > | |
ChannelBase (ValueType const &valueInit) throw () | |
Construct a channel that generates a constant. | |
bool | needsToProcess (ProcessInfo const &info) const throw () |
Static Public Member Functions | |
static ChannelBase | fromWeak (Weak const &weak) throw () |
Get a weakly linked copy of this object. |
A single output signal.
Channel objects may have multiple inputs but only one output. Multiple outputs are achieve by using arrays of Channel objects or a Unit object. True multiple input / multiple output Unit objects are achieved using a proxy system.
ChannelBase< SampleType >::ChannelBase | ( | ) | throw () [inline] |
Default constructor.
Creates a "null" channel.
ChannelBase< SampleType >::ChannelBase | ( | Internal * | internal | ) | throw () [inline] |
Construct a channel with a specific internal type.
ChannelBase< SampleType >::ChannelBase | ( | UnitType const & | unit | ) | throw () [inline] |
Get the first channel from a one-channel unit.
ChannelBase< SampleType >::ChannelBase | ( | UnitBase< SampleType > const & | unit | ) | throw () [inline] |
Get the first channel from a one-channel unit.
ChannelBase< SampleType >::ChannelBase | ( | ChannelBase< SampleType > const & | copy | ) | throw () [inline] |
Copy constructor.
Note that a deep copy is not made, the copy will refer to exactly the same data.
ChannelBase< SampleType >::ChannelBase | ( | ValueType const & | valueInit | ) | throw () [inline] |
Construct a channel that generates a constant.
static ChannelBase ChannelBase< SampleType >::fromWeak | ( | Weak const & | weak | ) | throw () [inline, static] |
Get a weakly linked copy of this object.
This will return a blank/empty/null object of this type if the original has already been deleted.
bool ChannelBase< SampleType >::needsToProcess | ( | ProcessInfo const & | info | ) | const throw () [inline] |
Returns true
if this unit needs to process for the given timestamp.
ChannelBase& ChannelBase< SampleType >::operator= | ( | ChannelBase< SampleType > const & | other | ) | throw () [inline] |
Assignment operator.