#include <iso_synth_ring_buffer_tap.h>
Collaboration diagram for iso::synth::RingBufferTap:
Public Member Functions | |
RingBufferTap (const RingBuffer *pRingBuffer) | |
parameter based constructor | |
RingBufferTap (const RingBuffer *pRingBuffer, const Frame &pTapPosition) throw (SynthException) | |
parameter based constructor | |
RingBufferTap (const serialize::SerializeData &pSerializeData) throw (serialize::SerializeException) | |
serialization based constructor | |
~RingBufferTap () | |
destructor | |
virtual serialize::SerializeData | serialize (const String &pSerialName=sClassName) const |
create serializeData for ring buffer tap | |
const RingBufferTap & | operator= (const RingBufferTap &pRingBufferTap) |
assignment operator | |
const Frame & | tapPosition () const |
return tap position | |
void | setTapPosition (const Frame &pTapPosition) throw (SynthException) |
set tap position | |
void | changeTapPosition (const Frame &pTapPosition) throw (SynthException) |
change tap position | |
void | process (Buffer *pBuffer) |
process buffer | |
void | process (Buffer *pBuffer, Frame *pDelayValues) |
process buffer | |
void | process (Buffer *pBuffer, Buffer *pDelayValues) |
process buffer | |
String | info () const |
obtain textual ring buffer tao information | |
Static Public Member Functions | |
static serialize::Serializable * | deSerialize (const serialize::SerializeData &pSerializeData) throw (serialize::SerializeException) |
create ring buffer tap from SerializeData | |
Static Public Attributes | |
static const String | sClassName |
default name | |
Protected Attributes | |
const RingBuffer * | mRingBuffer |
ring buffer | |
Frame | mTapPosition |
tap position | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const RingBufferTap &pRingBufferTap) |
print ring buffer tap information |
ring buffer
tap position is relative to front position of ring buffer
Created by Daniel Bisig on 08/15/06.
RingBufferTap::RingBufferTap | ( | const RingBuffer * | pRingBuffer | ) |
parameter based constructor
pRingBuffer | ring buffer |
RingBufferTap::RingBufferTap | ( | const RingBuffer * | pRingBuffer, | |
const Frame & | pTapPosition | |||
) | throw (SynthException) |
parameter based constructor
pRingBuffer | ring buffer | |
pTapPosition | tap position |
SynthException | channelcount mismatch between ringbuffer and tapPosition |
RingBufferTap::RingBufferTap | ( | const serialize::SerializeData & | pSerializeData | ) | throw (serialize::SerializeException) |
serialization based constructor
pSerializeData | serialization data |
SerializeException | failed to create ring buffer tap |
RingBufferTap::~RingBufferTap | ( | ) |
destructor
serialize::SerializeData RingBufferTap::serialize | ( | const String & | pSerialName = sClassName |
) | const [virtual] |
create serializeData for ring buffer tap
serialize::Serializable * RingBufferTap::deSerialize | ( | const serialize::SerializeData & | pSerializeData | ) | throw (serialize::SerializeException) [static] |
create ring buffer tap from SerializeData
pSerializeData | SerializeData |
SerializeException | incompatible SerializeData |
const RingBufferTap & RingBufferTap::operator= | ( | const RingBufferTap & | pRingBufferTap | ) |
assignment operator
pRingBufferTap | ring buffer tap to copy properties from |
const Frame & RingBufferTap::tapPosition | ( | ) | const |
return tap position
void RingBufferTap::setTapPosition | ( | const Frame & | pTapPosition | ) | throw (SynthException) |
set tap position
pTapPosition | tap position |
SynthException | channelcount mismatch between ringbuffer and tapPosition |
void RingBufferTap::changeTapPosition | ( | const Frame & | pTapPosition | ) | throw (SynthException) |
change tap position
pTapPosition | tap position change |
SynthException | channelcount mismatch between ringbuffer and tapPosition |
void RingBufferTap::process | ( | Buffer * | pBuffer | ) |
process buffer
pBuffer | buffer to process |
process buffer
pBuffer | buffer to process | |
pDelayValues | delay values |
process buffer
pBuffer | buffer to process | |
pDelayValues | delay values |
String RingBufferTap::info | ( | ) | const |
obtain textual ring buffer tao information
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const RingBufferTap & | pRingBufferTap | |||
) | [friend] |
print ring buffer tap information
const String RingBufferTap::sClassName [static] |
default name
const RingBuffer* iso::synth::RingBufferTap::mRingBuffer [protected] |
ring buffer
Frame iso::synth::RingBufferTap::mTapPosition [protected] |
tap position
tap position is either zero or negative and represents a position relative to to ring buffer start position