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

mimo::FromMat< seqT_in, seqT_out > Class Template Reference

#include <multiplexer.h>

Inheritance diagram for mimo::FromMat< seqT_in, seqT_out >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 FromMat (int deviceID, DeviceSystemIntf *system, const simth::PropertyList &pl)
void updateInputLengths ()
void updateOutputLengths ()
void process ()

Protected Attributes

unsigned int rows
unsigned int cols

Related Functions

(Note that these are not member functions.)

 propertylist_FromMat (not_a_function)

Detailed Description

template<class seqT_in, class seqT_out>
class mimo::FromMat< seqT_in, seqT_out >

Retrieving all elements of a matrix row-wise in a vector.

This means for a input matrix $\left(\begin{array}{cc} a & b \\ c & d \end{array}\right)$ the output vector $\left(\begin{array}{c} a \\ b \\ c \\ d \end{array}\right)$ will be generated.

The number of input ports as well as the number of output ports is one.

Parameters in Micos parameter file:

type: set this to "multiplexvector"

direction: set this to "from_mat"

streamtype: String specifying the sequence data type of the output ports, e.g. FreqSignal, ModSeq.


Constructor & Destructor Documentation

template<class seqT_in, class seqT_out>
mimo::FromMat< seqT_in, seqT_out >::FromMat int  deviceID,
DeviceSystemIntf system,
const simth::PropertyList pl
 


Member Function Documentation

template<class seqT_in, class seqT_out>
void mimo::FromMat< seqT_in, seqT_out >::updateInputLengths  )  [inline, virtual]
 

Implements simth::Device.

template<class seqT_in, class seqT_out>
void mimo::FromMat< seqT_in, seqT_out >::updateOutputLengths  )  [inline, virtual]
 

Implements simth::Device.

template<class seqT_in, class seqT_out>
void mimo::FromMat< seqT_in, seqT_out >::process  )  [virtual]
 

Implements simth::Device.


Friends And Related Function Documentation

template<class seqT_in, class seqT_out>
propertylist_FromMat not_a_function   )  [related]
 

These are the properties of class FromMat . This list is auto-generated from the XML-Devicelist of this device by means of an XSLT transformation script.

Description of this device in the XML file: Retrieving all elements of a matrix row-wise in a vector. That means the matrix (matlab-notation) [a b; c d] results in the vector [a b c d]'.

Note that this class also has the Properties of its base classes. The direct base class is simth::Device ; direct link to its propertylist should be propertylist_Device(). The list below usually includes the properties that have been inherited from the base classes; the properties which belong only to this class can be found at the end of this list.

streamtype
<enum>, default "" -- String specifying the sequence data type of the input ports. The vectorized input/output port will simply be a vector of real or complex doubles accordingly. The names are the ones as defined in signals.h, e.g. bitSeq, ModSeq, symSeq etc.

direction
<string>, default "from_mat" -- DEPRECATED: No longer necessary to be set.

nr_rows
<unsigned>, default "" --

nr_cols
<unsigned>, default "" --

4 properties in this class.


Member Data Documentation

template<class seqT_in, class seqT_out>
unsigned int mimo::FromMat< seqT_in, seqT_out >::rows [protected]
 

template<class seqT_in, class seqT_out>
unsigned int mimo::FromMat< seqT_in, seqT_out >::cols [protected]
 


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