ForSyDe::SY::sender< T1 > Class Template Reference

Process constructor for a sender process with one input. More...

#include <parallel_sim.hpp>

Inheritance diagram for ForSyDe::SY::sender< T1 >:
Collaboration diagram for ForSyDe::SY::sender< T1 >:

Public Member Functions

 sender (sc_module_name _name, int destination, int tag)
 The constructor requires the module name. More...
 
std::string forsyde_kind () const
 Specifying from which process constructor is the module built.
 
- Public Member Functions inherited from ForSyDe::process
 process (sc_module_name _name)
 The constructor requires the module name. More...
 

Public Attributes

SY_in< T1 > iport1
 port for the input channel
 

Additional Inherited Members

- Protected Member Functions inherited from ForSyDe::process
void end_of_simulation ()
 This hook is used to run the clean stage.
 

Detailed Description

template<typename T1>
class ForSyDe::SY::sender< T1 >

Process constructor for a sender process with one input.

This class is used to build a processes with one input. It transmits the non-absent events it receives using an MPI_send command.

Constructor & Destructor Documentation

template<typename T1 >
ForSyDe::SY::sender< T1 >::sender ( sc_module_name  _name,
int  destination,
int  tag 
)
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

Parameters
_nameprocess name
destinationMPI rank of the destination process
tagMPI tag of the message

The documentation for this class was generated from the following file: