ofxPDSP
|
Output of a Unit, contains a buffer of rendered floats and has a variable state flag. More...
#include <BasicNodes.h>
Public Member Functions | |
OutputNode (int oversample) | |
OutputNode (const OutputNode &other) | |
OutputNode & | operator= (const OutputNode &other) |
void | connect (InputNode &inputNode) |
patch this OutputNode to an InputNode More... | |
void | disconnect (InputNode &inputNode) |
disconnect this OutputNode from an InputNode More... | |
void | disconnectAll () |
disconnect this OutputNode from all the inputs to witch it is connected | |
virtual float | getCRValue () const |
returns the first value of the buffer, to use if the state is "Changed" | |
const float * | getBuffer () const |
get the OutputNode buffer | |
const int | getState () const |
get the OutputNode state | |
const std::vector< InputNode * > & | getOutputs () const |
get the outputs vector | |
bool | isConnected () |
returns true if this OutputNode is connected to at least an InputNode | |
bool | notConnected () |
returns true if this OutputNode is not connected to any InputNode | |
const int | getOversampleLevel () const |
returns the oversample level of this OutputNode | |
OutputNode & | setMultiplyOnConnection (float multiplier) |
this is basically what the * operator does when used with a Patchable or OutputNode | |
Protected Attributes | |
float * | buffer |
int | state |
Unit * | parent |
int | oversampleLevel |
Friends | |
class | InputNode |
class | Unit |
class | OutputData |
class | PatchNode |
class | Switch |
class | ExternalInput |
class | Processor |
class | UpSampler |
class | DownSampler |
class | Patchable |
Additional Inherited Members | |
Static Public Member Functions inherited from pdsp::Preparable | |
static double | getGlobalSampleRate () |
Output of a Unit, contains a buffer of rendered floats and has a variable state flag.
OutputNode is the output point of a Unit. It has an internal buffer of floats and a state that can be "Changed" or "AudioRate".
void pdsp::OutputNode::connect | ( | InputNode & | inputNode | ) |
patch this OutputNode to an InputNode
[in] | node | InputNode to patch |
void pdsp::OutputNode::disconnect | ( | InputNode & | inputNode | ) |
disconnect this OutputNode from an InputNode
[in] | node | InputNode to disconnect |