#include <connection.h>
Inheritance diagram for connection::

Public Methods | |
| connection (nport &, int, int) | |
| Intraconnection constructor. More... | |
| connection (nport &, int, nport &, int) | |
| Interconnection constructor. More... | |
| connection (nport &, nport &) | |
| Constructor to join two devices without connecting any ports. More... | |
| int | size () |
| The number of ports this device has. More... | |
| const nport::data_info& | get_data_info () |
| port | get_port (int index) |
| Return label for a given port index, or the default port (0,0) if index out of range. More... | |
| int | get_port (port) |
Private Types | |
| enum | { INTER, INTRA, BLOCK } |
| Type of connection to make. More... | |
Private Methods | |
| void | calc_inter () |
| The actual calculations for an interconnection. More... | |
| void | calc_intra () |
| The actual calculations for an intraconnection. More... | |
| void | calc_block () |
| The actual calculations for a block connection. More... | |
| void | recalc () |
| The function for calculating sdata. More... | |
| void | recalc_S () |
| If the following function is implemented, it should only calculate the S matrix and B vector parts of data, leaving the C matrix part stale. More... | |
Private Attributes | |
| portArray | portmap |
| We need an array of port labels to keep track of what we connected. More... | |
| nport& | dev1 |
| The device(s) to be connected. More... | |
| nport& | dev2 |
| The device(s) to be connected. More... | |
| int | port1 |
| The ports to be connected. More... | |
| int | port2 |
| enum connection:: { ... } | connection_type |
| Type of connection to make. More... | |
| bool | calc_noise |
| Should calc functions calculate noise? This flag is managed by recalc() and recalc_S(). More... | |
|
|
Type of connection to make.
Definition at line 90 of file connection.h. |
|
|
Intraconnection constructor.
Definition at line 49 of file connection.cc. |
|
|
Interconnection constructor.
Definition at line 200 of file connection.cc. |
|
|
Constructor to join two devices without connecting any ports.
Definition at line 614 of file connection.cc. |
|
|
The actual calculations for a block connection. This combines two devices without connecting any ports. Definition at line 640 of file connection.cc. Referenced by recalc(), and recalc_S().
|
|
|
The actual calculations for an interconnection.
Definition at line 237 of file connection.cc. Referenced by recalc(), and recalc_S().
|
|
|
The actual calculations for an intraconnection.
Definition at line 78 of file connection.cc. Referenced by recalc(), and recalc_S().
|
|
|
Reimplemented from nport. Definition at line 713 of file connection.cc. |
|
|
Reimplemented from nport. Definition at line 735 of file connection.cc. |
|
|
Return label for a given port index, or the default port (0,0) if index out of range.
Reimplemented from nport. Definition at line 725 of file connection.cc. |
|
|
The function for calculating sdata. recalc() should do the following:
Reimplemented from nport. Definition at line 747 of file connection.cc. |
|
|
If the following function is implemented, it should only calculate the S matrix and B vector parts of data, leaving the C matrix part stale.
Reimplemented from nport. Definition at line 766 of file connection.cc. |
|
|
The number of ports this device has.
Reimplemented from nport. Definition at line 129 of file connection.h. Referenced by get_port().
|
|
|
Should calc functions calculate noise? This flag is managed by recalc() and recalc_S().
Definition at line 96 of file connection.h. |
|
|
Type of connection to make.
|
|
|
The device(s) to be connected.
Definition at line 80 of file connection.h. |
|
|
The device(s) to be connected.
Definition at line 83 of file connection.h. |
|
|
The ports to be connected.
Definition at line 86 of file connection.h. |
|
|
Definition at line 87 of file connection.h. |
|
|
We need an array of port labels to keep track of what we connected.
Definition at line 77 of file connection.h. |
Please direct comments and corrections to
supermix@submm.caltech.edu
Go to the supermix home page
Generated by
1.2.7