Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

common::TunableTRXArray Class Reference

Implementation of an array of tunable transmitters or receivers. More...

#include <trx.h>

List of all members.

Public Member Functions

bool assignTRX (long lightpath, int wavelength)
 Assign a Tx/Rx for a lightpath for a specific wavelength.

bool resetTRX (long lightpath)
 Reset the Tx/Rx component which is associated with the lightpath.

std::string & toString ()
 Convert this object to string.

 TunableTRXArray (u_int count, int lowRange, int highRange)
 Construct a new TunableTRXArray array object.


Private Attributes

TRX_array
u_int _count
 Number of transceiver components in the Tunable TX/RX array.

std::string _descStr
 Description string.


Detailed Description

Implementation of an array of tunable transmitters or receivers.

This is used in the implementation of a GroomerNode

Version:
1.0 05/20/2004
Author:
Rama Shenai


Constructor & Destructor Documentation

common::TunableTRXArray::TunableTRXArray u_int  count,
int  lowRange,
int  highRange
 

Construct a new TunableTRXArray array object.

Parameters:
count The number of TX/RX components in the array
lowRange Lower-Range of tunablility
highRange Higher-Range of tunability


Member Function Documentation

bool common::TunableTRXArray::assignTRX long  lightpath,
int  wavelength
 

Assign a Tx/Rx for a lightpath for a specific wavelength.

Parameters:
lightpath the lightpath for the TRX to be setup on
wavelength the wavelength to which the Tx/Rx should tuned to in order to add or drop traffic

bool common::TunableTRXArray::resetTRX long  lightpath  ) 
 

Reset the Tx/Rx component which is associated with the lightpath.

Parameters:
lightpath the lightpath for the TRX to be reseted to NONE

std::string& common::TunableTRXArray::toString  ) 
 

Convert this object to string.

Returns:
a string representation of this object


Member Data Documentation

TRX* common::TunableTRXArray::_array [private]
 

u_int common::TunableTRXArray::_count [private]
 

Number of transceiver components in the Tunable TX/RX array.

std::string common::TunableTRXArray::_descStr [private]
 

Description string.


The documentation for this class was generated from the following file:
Generated on Fri May 21 15:23:22 2004 for Optical Network Simulation (Build) by doxygen 1.3.7