SST
12.0.0
StructuralSimulationToolkit
|
Class supports an IPC tunnel between two or more processes, via an mmap'd file. More...
#include <mmapparent.h>
Public Member Functions | |
MMAPParent (uint32_t comp_id, size_t numBuffers, size_t bufferSize, uint32_t expectedChildren=1) | |
Parent/master manager for an IPC Tunnel Creates a memory-mapped file and initializes a TunnelType data structure in the mmap'd region. More... | |
virtual | ~MMAPParent () |
Destructor. | |
const std::string & | getRegionName (void) const |
returns name of the mmap'd file | |
TunnelType * | getTunnel () |
return the created tunnel pointer | |
Class supports an IPC tunnel between two or more processes, via an mmap'd file.
This class creates the tunnel for the parent/master process
TunnelType | Tunnel definition |
|
inline |
Parent/master manager for an IPC Tunnel Creates a memory-mapped file and initializes a TunnelType data structure in the mmap'd region.
comp_id | Component ID of owner |
numBuffers | Number of buffers for which we should tunnel |
bufferSize | How large each core's buffer should be How many child processes will connect to the tunnel |