Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

port Class Reference

An instance of port is a unique tag for a port. More...

#include <port.h>

List of all members.

Public Methods

 port ()
 The default constructor creates port (0,0). More...

 port (unsigned long id, int index)

Public Attributes

unsigned long id
 The id tag for the device where the port originally came from. More...

int index
 The index that the port was on the device specified by id. More...


Detailed Description

An instance of port is a unique tag for a port.

It is used when connecting two nport devices to keep track of which port gets mapped where.

class port needs the relational operator==, below.

Definition at line 50 of file port.h.


Constructor & Destructor Documentation

port::port ( )
 

The default constructor creates port (0,0).

Definition at line 34 of file port.cc.

port::port ( unsigned long a,
int b )
 

Parameters:
id   the id tag of the device
index   the index of the port

Definition at line 40 of file port.cc.


Member Data Documentation

unsigned long port::id
 

The id tag for the device where the port originally came from.

Definition at line 65 of file port.h.

int port::index
 

The index that the port was on the device specified by id.

Definition at line 70 of file port.h.


The documentation for this class was generated from the following files:

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7