EasyLink
EasyLink is a C++ software development kit for developing blocks for SIMULINK (S-functions)
Functions
Input ports managing methods

Functions

static double BaseBlock::getInputDouble (int port)
 
template<typename _Scalar >
static _Scalar BaseBlock::getInputScalar (int port)
 
template<typename _Scalar >
static Array< _Scalar > BaseBlock::getInputArray (int port)
 
static void * BaseBlock::getInputData (int port)
 
static int BaseBlock::getInputWidth (int port)
 
static int BaseBlock::getInputNRows (int port)
 
static int BaseBlock::getInputNCols (int port)
 

Detailed Description

Function Documentation

◆ getInputArray()

template<typename _Scalar >
static Array<_Scalar> BaseBlock::getInputArray ( int  port)
inlinestatic

Returns an array mapping an input port.

Definition at line 421 of file BaseBlock.h.

◆ getInputData()

static void* BaseBlock::getInputData ( int  port)
inlinestatic

Returns a pointer to the first element of the input port data.

Definition at line 431 of file BaseBlock.h.

◆ getInputDouble()

static double BaseBlock::getInputDouble ( int  port)
inlinestatic

Returns the double scalar value of an input port.

Definition at line 399 of file BaseBlock.h.

◆ getInputNCols()

static int BaseBlock::getInputNCols ( int  port)
inlinestatic

Returns the input port number of cols.

Definition at line 461 of file BaseBlock.h.

◆ getInputNRows()

static int BaseBlock::getInputNRows ( int  port)
inlinestatic

Returns the input port number of rows.

Definition at line 453 of file BaseBlock.h.

◆ getInputScalar()

template<typename _Scalar >
static _Scalar BaseBlock::getInputScalar ( int  port)
inlinestatic

Returns the scalar value of an input port.

Definition at line 410 of file BaseBlock.h.

◆ getInputWidth()

static int BaseBlock::getInputWidth ( int  port)
inlinestatic

Returns the input port number of elements.

If the input port is a 1-D array with w elements, this function returns w.

If the input port is an M-by-N array, this function returns m*n.

Definition at line 445 of file BaseBlock.h.


Copyright (c) 2014 FEMTO-ST / ENSMM / UFC / UTBM, Besançon, France. Generated by Doxygen.