#include <iso_synth_output_port.h>
Inherits iso::synth::AudioPort.
Inherited by iso::synth::InternalPort.
Inheritance diagram for iso::synth::OutputPort:


Public Member Functions | |
| OutputPort (Unit *pUnit) | |
| parameter based contructor | |
| OutputPort (const String &pName, Unit *pUnit) | |
| name and parameter based contructor | |
| ~OutputPort () | |
| destructor | |
| virtual void | setChannelCount (unsigned int pChannelCount) throw (SynthException) |
| set channel count | |
| virtual void | setFrameCount (unsigned int pFrameCount) throw (SynthException) |
| set frame count | |
| virtual void | setRate (sample pRate) throw (SynthException) |
| set frame rate | |
| void | addLink (Link *pLink) |
| add link to port | |
| void | removeLink (Link *pLink) |
| removes link from output port | |
| virtual void | connect (InputPort *pInputPort, ChannelMap *pMap=NULL) |
| links output port to input port | |
| virtual void | process (Buffer *pBuffer) |
| signal processing | |
| virtual String | info (bool pPropagate=false) const |
| obtain textual output port information | |
Static Public Attributes | |
| static const String | sClassName |
| default name | |
Protected Member Functions | |
| OutputPort () | |
| default constructor | |
| void | createOutputGain () |
| create output gain control port | |
Protected Attributes | |
| ControlPort * | mOutputGain |
| output gain | |
Friends | |
| class | InputPort |
| std::ostream & | operator<< (std::ostream &pOstream, const OutputPort &pPort) |
| print port information | |
output port
Created by Daniel Bisig on 5/18/06. Copyright 2006 __MyCompanyName__. All rights reserved.
| OutputPort::OutputPort | ( | Unit * | pUnit | ) |
parameter based contructor
| pUnit | the unit this output port belongs to |
name and parameter based contructor
| pName | name of the output port | |
| pUnit | the unit this input port belongs to |
| OutputPort::~OutputPort | ( | ) |
destructor
| OutputPort::OutputPort | ( | ) | [protected] |
default constructor
| void OutputPort::setChannelCount | ( | unsigned int | pChannelCount | ) | throw (SynthException) [virtual] |
set channel count
| pChannelCount | channel count |
| SynthException | channel count change not possible |
Reimplemented from iso::synth::AudioPort.
| void OutputPort::setFrameCount | ( | unsigned int | pFrameCount | ) | throw (SynthException) [virtual] |
set frame count
| pFrameCount | frame count |
| SynthException | frame count not a power of two or frame count change not possible |
Reimplemented from iso::synth::AudioPort.
| void OutputPort::setRate | ( | sample | pRate | ) | throw (SynthException) [virtual] |
set frame rate
| pRate | frame rate |
| SynthException | frame rate change not possible |
Reimplemented from iso::synth::AudioPort.
| void OutputPort::addLink | ( | Link * | pLink | ) | [virtual] |
add link to port
| pLink | link that is added to port |
Implements iso::synth::AudioPort.
| void OutputPort::removeLink | ( | Link * | pLink | ) | [virtual] |
removes link from output port
| pLink | link that is removed from port |
Implements iso::synth::AudioPort.
| void OutputPort::connect | ( | InputPort * | pInputPort, | |
| ChannelMap * | pMap = NULL | |||
| ) | [virtual] |
links output port to input port
| pInputPort | input port to which output port is connected to | |
| pMap | channel map |
Reimplemented in iso::synth::InternalPort.
| void OutputPort::process | ( | Buffer * | pBuffer | ) | [virtual] |
signal processing
| pBuffer | signal buffer |
Implements iso::synth::AudioPort.
Reimplemented in iso::synth::InternalPort.
| base::String OutputPort::info | ( | bool | pPropagate = false |
) | const [virtual] |
obtain textual output port information
| pPropagate | if true, the output port calls the info method of it's associated Unit |
Reimplemented from iso::synth::AudioPort.
| void OutputPort::createOutputGain | ( | ) | [protected] |
create output gain control port
friend class InputPort [friend] |
| std::ostream& operator<< | ( | std::ostream & | pOstream, | |
| const OutputPort & | pPort | |||
| ) | [friend] |
print port information
const base::String OutputPort::sClassName [static] |
ControlPort* iso::synth::OutputPort::mOutputGain [protected] |
output gain
1.5.1