Inheritance diagram for csp::common::ExtId< DATA_TYPE >:
Unlike Id, this process does not introduce buffering while connecting two channels. Two unbuffered channels connected via an ExtId are semantically equivalent to a single unbuffered channel. However, with buffered channels the effect may be different, especially if they are overwriting buffers!
To use this process, you will need to include <cppcsp/common/basic.h>
Public Member Functions | |
ExtId (const Chanin< DATA_TYPE > &_in, const Chanout< DATA_TYPE > &_out) | |
Constructs the ExtId process. | |
Protected Member Functions | |
void | run () |
You must implement this function to provide the code for your process. |
csp::common::ExtId< DATA_TYPE >::ExtId | ( | const Chanin< DATA_TYPE > & | _in, | |
const Chanout< DATA_TYPE > & | _out | |||
) | [inline] |
void csp::common::ExtId< DATA_TYPE >::run | ( | ) | [inline, protected, virtual] |
You must implement this function to provide the code for your process.
When the run method finishes, the process will terminate.
You should not let an uncaught exception cause the end of this function. If it derives from std::exception, it will be caught (although this behaviour should not be relied upon) but otherwise undefined behaviour will result.
Implements csp::ThreadCSProcess.