FAUST compiler  0.9.9.6b8
Typedefs | Functions
propagate.hh File Reference
#include <vector>
#include "boxes.hh"
#include "signals.hh"
Include dependency graph for propagate.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef vector< Treesiglist
 

Functions

siglist makeSigInputList (int n)
 Fabrique une liste de n entrĂ©es. More...
 
Tree boxPropagateSig (Tree path, Tree box, const siglist &lsig)
 Top level propagate a list of signals into a block diagram. More...
 

Typedef Documentation

typedef vector<Tree> siglist

Definition at line 43 of file propagate.hh.

Function Documentation

Tree boxPropagateSig ( Tree  path,
Tree  box,
const siglist lsig 
)

Top level propagate a list of signals into a block diagram.

Do memoization.

Parameters
pathuser interface group path
boxthe block diagram
lsigthe list of input signals to propagate
Returns
the resulting list of output signals

Definition at line 501 of file propagate.cpp.

References listConvert(), nil, and propagate().

Referenced by eval2double(), eval2int(), isBoxNumeric(), main(), mapPrepareEqSig(), and numericBoxSimplification().

502 {
503  return listConvert(propagate(nil, path, box, lsig));
504 }
siglist propagate(Tree slotenv, Tree path, Tree box, const siglist &lsig)
Propagate a list of signals into a block diagram.
Definition: propagate.cpp:227
Tree listConvert(const siglist &a)
Convert an stl list of signals into a tree list of signals.
Definition: propagate.cpp:131
Tree nil
Definition: list.cpp:116

Here is the call graph for this function:

Here is the caller graph for this function:

siglist makeSigInputList ( int  n)

Fabrique une liste de n entrées.

Definition at line 96 of file propagate.cpp.

References sigInput().

Referenced by eval2double(), eval2int(), isBoxNumeric(), main(), mapPrepareEqSig(), and numericBoxSimplification().

97 {
98  siglist l(n);
99  for (int i = 0; i < n; i++) l[i] = sigInput(i);
100  return l;
101 }
Tree sigInput(int i)
Definition: signals.cpp:47
vector< Tree > siglist
Definition: propagate.hh:43

Here is the call graph for this function:

Here is the caller graph for this function: