Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mimo::Multiplexer Class Reference

Base class for a general Multiplexer/Demultiplexer. More...

#include <multiplexer.h>

Inheritance diagram for mimo::Multiplexer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void updateInputLengths ()
virtual void updateOutputLengths ()
template<class seqT>
void process ()
void print (std::ostream &os) const

Static Public Member Functions

static void init (const std::string &fileName, Device **dev, DeviceSystemIntf *sysPtr, int ID, const std::string &regionQualifier)
static void init (simth::DeviceFactory &registration)

Protected Member Functions

 Multiplexer (int deviceID, DeviceSystemIntf *system, const simth::PropertyList &pl)

Protected Attributes

unsigned int iports
unsigned int oports

Detailed Description

Base class for a general Multiplexer/Demultiplexer.

The number of input ports as well as the number of output ports needs to be specified in the parameter file. The number of input and output ports need to be an integer multiple of each other (this requirement might be relaxed sometime soon).

Parameters in Micos parameter file:

type: set this to "multiplexer"

input_ports: number of input ports.

output_ports: number of output ports input and output ports must be an integer multiple of each other.

streamtype: String specifying the sequence data type of the input and output ports. The names are the ones as defined in signals.h, e.g. bitSeq, ModSeq, symSeq etc.


Constructor & Destructor Documentation

mimo::Multiplexer::Multiplexer int  deviceID,
DeviceSystemIntf system,
const simth::PropertyList pl
[protected]
 


Member Function Documentation

virtual void mimo::Multiplexer::updateInputLengths  )  [virtual]
 

Implements simth::Device.

virtual void mimo::Multiplexer::updateOutputLengths  )  [virtual]
 

Implements simth::Device.

template<class seqT>
void mimo::Multiplexer::process  )  [virtual]
 

Implements simth::Device.

Reimplemented in mimo::MultiplexerT< seqT >, and mimo::MultiplexerT< CMatrixSeq >.

void mimo::Multiplexer::print std::ostream &  os  )  const [virtual]
 

Reimplemented from simth::Device.

static void mimo::Multiplexer::init const std::string &  fileName,
Device **  dev,
DeviceSystemIntf sysPtr,
int  ID,
const std::string &  regionQualifier
[static]
 

static void mimo::Multiplexer::init simth::DeviceFactory registration  )  [static]
 


Member Data Documentation

unsigned int mimo::Multiplexer::iports [protected]
 

unsigned int mimo::Multiplexer::oports [protected]
 


Generated on Tue Aug 9 14:44:13 2005 for mimolib by  doxygen 1.4.1