SST  14.0.0
StructuralSimulationToolkit
SST::Core::Interprocess::MMAPChild_Pin3< TunnelType > Class Template Reference

Class supports an IPC tunnel between two or more processes, via an mmap'd file This class attaches to an existing tunnel for a child process using PinCRT. More...

#include <mmapchild_pin3.h>

Public Member Functions

 MMAPChild_Pin3 (const std::string &file_name)
 Child-side tunnel manager for an IPC tunnel Opens an existing file and mmaps it using PinCRT. More...
 
virtual ~MMAPChild_Pin3 ()
 Close file and shutdown tunnel.
 
TunnelType * getTunnel ()
 return a pointer to the tunnel
 
const std::string & getRegionName (void) const
 Return the name of the mmap'd file.
 

Detailed Description

template<typename TunnelType>
class SST::Core::Interprocess::MMAPChild_Pin3< TunnelType >

Class supports an IPC tunnel between two or more processes, via an mmap'd file This class attaches to an existing tunnel for a child process using PinCRT.

Template Parameters
TunnelTypeTunnel definition

Constructor & Destructor Documentation

◆ MMAPChild_Pin3()

template<typename TunnelType >
SST::Core::Interprocess::MMAPChild_Pin3< TunnelType >::MMAPChild_Pin3 ( const std::string &  file_name)
inline

Child-side tunnel manager for an IPC tunnel Opens an existing file and mmaps it using PinCRT.

Parameters
file_nameName of the shared file to mmap

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