#include <FilterConnection.h>
Inheritance diagram for FilterConnection< SAMPLE >:
connectFrom(conn:Connection) Accepts a connection FROM conn connection. The current filterConnection accepts the connection as an input to the connection. process() A step taken which will read in data and output data, fills and dumps one buffer. Must be called to move audio. disconnectFrom(conn:Connection) Disconnects an incoming patch between the current connection and "conn" connection. disconnectTo(conn:Connection)Disconnects an outgoing patch between current connection and "conn" connection.
Definition at line 25 of file FilterConnection.h.
Public Methods | |
void | connectFrom (Connection< SAMPLE > &conn) |
connectFrom Accepts a connection FROM conn connection. | |
void | connectFrom (Connection< SAMPLE > *conn) |
connectFrom Accepts a connection FROM conn connection. | |
virtual void | process () |
Process, reads and write data from other connections. | |
void | disconnectFrom (Connection< SAMPLE > *conn) |
disconnectFrom Disconnects an incoming patch between the current connection and "conn" connection. | |
void | disconnectTo (FilterConnection< SAMPLE > *conn) |
disconnectTo Disconnects an outgoing patch between current and conn | |
virtual string | xmlType () |
used for XML output gets the type of the FilterConnection | |
string * | getXML () |
gets an XML representation of the current instance. | |
virtual int | read (SAMPLE *data, int size) |
read size samples into data from the Connection | |
FilterConnection (BufferedFile *fd) | |
Constructor using a bufferedfile. | |
FilterConnection (BufferedFile *fd, string name) | |
Constructor using a bufferedfile and name. | |
virtual | ~FilterConnection () |
Destructor. | |
Public Attributes | |
int | lastClock |
the lastClock value remembered. | |
Protected Methods | |
void | initBuffer () |
virtual void | disconnect () |
Disconnect the current connection. | |
Protected Attributes | |
vector< Connection< SAMPLE > * > | inConnections |
SAMPLE * | buffer |
SAMPLE * | buffer2 |
SAMPLE * | buffer3 |
|
Constructor using a bufferedfile.
Definition at line 148 of file FilterConnection.h. |
|
Constructor using a bufferedfile and name.
Definition at line 155 of file FilterConnection.h. |
|
Destructor.
Definition at line 162 of file FilterConnection.h. |
|
connectFrom Accepts a connection FROM conn connection.
Definition at line 37 of file FilterConnection.h. |
|
connectFrom Accepts a connection FROM conn connection. Essentially a compatibility wrapper Definition at line 31 of file FilterConnection.h. Referenced by FilterConnection< char >::connectFrom(). |
|
Disconnect the current connection.
Reimplemented from Connection< SAMPLE >. Definition at line 183 of file FilterConnection.h. Referenced by FilterConnection< char >::~FilterConnection(). |
|
disconnectFrom Disconnects an incoming patch between the current connection and "conn" connection.
Definition at line 87 of file FilterConnection.h. Referenced by FilterConnection< char >::disconnectTo(), and FilterConnection< char >::process(). |
|
disconnectTo Disconnects an outgoing patch between current and conn
Definition at line 99 of file FilterConnection.h. |
|
gets an XML representation of the current instance.
Definition at line 111 of file FilterConnection.h. |
|
Definition at line 173 of file FilterConnection.h. Referenced by FilterConnection< char >::FilterConnection(). |
|
Process, reads and write data from other connections.
Reimplemented in InputConnection< SAMPLE >, and OutputConnection< SAMPLE >. Definition at line 47 of file FilterConnection.h. Referenced by OutputConnection< SAMPLE >::process(). |
|
read size samples into data from the Connection
Reimplemented from Connection< SAMPLE >. Definition at line 137 of file FilterConnection.h. |
|
used for XML output gets the type of the FilterConnection
Reimplemented in OutputConnection< SAMPLE >. Definition at line 105 of file FilterConnection.h. Referenced by FilterConnection< char >::getXML(). |
|
Definition at line 170 of file FilterConnection.h. Referenced by FilterConnection< char >::initBuffer(), FilterConnection< char >::process(), and FilterConnection< char >::~FilterConnection(). |
|
Definition at line 171 of file FilterConnection.h. Referenced by FilterConnection< char >::initBuffer(), and FilterConnection< char >::process(). |
|
Definition at line 172 of file FilterConnection.h. Referenced by FilterConnection< char >::initBuffer(), and FilterConnection< char >::read(). |
|
|
the lastClock value remembered.
Definition at line 136 of file FilterConnection.h. Referenced by FilterConnection< char >::initBuffer(), and FilterConnection< char >::read(). |