ForSyDe::SY::apply< ITYP, OTYP > Class Template Reference
Process constructor for a combinational adaptive process with one input and one output. More...
#include <adaptivity.hpp>
Inheritance diagram for ForSyDe::SY::apply< ITYP, OTYP >:
Collaboration diagram for ForSyDe::SY::apply< ITYP, OTYP >:
Public Types | |
typedef std::function< abst_ext< OTYP >const abst_ext< ITYP > &)> | functype |
Type of the function to be passed to the process constructor. | |
Public Member Functions | |
apply (sc_module_name _name) | |
The constructor requires the module name. More... | |
Public Attributes | |
SY_in< ITYP > | iport |
port for the input channel | |
SY_out< OTYP > | oport |
port for the output channel | |
SY_in< functype > | fport |
port for the function channel | |
Detailed Description
template<class ITYP, class OTYP>
class ForSyDe::SY::apply< ITYP, OTYP >
Process constructor for a combinational adaptive process with one input and one output.
This class is used to build combinational processes with one input and one output. The class is parameterized for input and output data-types.
Constructor & Destructor Documentation
template<class ITYP, class OTYP>
|
inline |
The constructor requires the module name.
It creates an SC_THREAD which reads data from its input port, applies the user-imlpemented function to it and writes the results using the output port
The documentation for this class was generated from the following file:
- src/forsyde/adaptivity.hpp
Generated by Doxygen 1.8.11