Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

syn::Connection Class Reference

connection between two terminals. More...

#include <Connection.h>

Collaboration diagram for syn::Connection:

Collaboration graph
[legend]
List of all members.

Public Methods

 Connection ()
 default constructor. More...

const SampleBufferQueuequeue () const
 access the queue (const version). More...

SampleBufferQueuequeue ()
 access the queue. More...

unsigned int size ()
 get the number of terminals that this connects. More...

TerminalPtr getOther (TerminalPtr term)
 given a terminal, return the other terminal . More...


Detailed Description

connection between two terminals.

Definition at line 44 of file Connection.h.


Constructor & Destructor Documentation

syn::Connection::Connection ( )
 

default constructor.

Definition at line 36 of file Connection.cpp.


Member Function Documentation

const SampleBufferQueue & syn::Connection::queue ( ) const [inline]
 

access the queue (const version).

the queue is the data transport between terminals

Definition at line 53 of file Connection.h.

SampleBufferQueue & syn::Connection::queue ( ) [inline]
 

access the queue.

the queue is the data transport between terminals

Definition at line 58 of file Connection.h.

unsigned int syn::Connection::size ( ) [inline]
 

get the number of terminals that this connects.

Definition at line 61 of file Connection.h.

TerminalPtr syn::Connection::getOther ( TerminalPtr term )
 

given a terminal, return the other terminal .

useful for graph traversal. @POST: if this is a completely different term, getOther will just return one of them

Definition at line 50 of file Connection.cpp.


Friends And Related Function Documentation

class Terminal [friend]
 

Definition at line 82 of file Connection.h.


The documentation for this class was generated from the following files:
Generated at Mon Apr 15 09:27:53 2002 for subsynth by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001