SST 12.1.0
Structural Simulation Toolkit
SST::Core::Interprocess::SHMChild< TunnelType > Class Template Reference

Class supports an IPC tunnel between two or more processes, via posix shared memory This class attaches to an existing tunnel for a child process. More...

#include <shmchild.h>

Public Member Functions

 SHMChild (const std::string &region_name)
 Child-side tunnel manager for an IPC tunnel Accesses an existing Tunnel using shared memory. More...
 
virtual ~SHMChild ()
 Destructor.
 
TunnelType * getTunnel ()
 return a pointer to the tunnel
 
const std::string & getRegionName (void) const
 return the name of the shared memory region
 

Detailed Description

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

Class supports an IPC tunnel between two or more processes, via posix shared memory This class attaches to an existing tunnel for a child process.

Template Parameters
TunnelTypeTunnel definition

Constructor & Destructor Documentation

◆ SHMChild()

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

Child-side tunnel manager for an IPC tunnel Accesses an existing Tunnel using shared memory.

Parameters
region_nameName of the shared-memory region to access

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