DUNE: Uniform Navigational Environment  2016.05.0
DUNE::Concurrency::SharedMemory Class Reference

Public Member Functions

 SharedMemory (const char *name, unsigned size)
 
 SharedMemory (unsigned size)
 
 ~SharedMemory (void)
 
void create (void)
 
void open (void)
 
const char * getName (void)
 
void * operator* (void)
 

Constructor & Destructor Documentation

DUNE::Concurrency::SharedMemory::SharedMemory ( const char *  name,
unsigned  size 
)
DUNE::Concurrency::SharedMemory::SharedMemory ( unsigned  size)
DUNE::Concurrency::SharedMemory::~SharedMemory ( void  )

Member Function Documentation

void DUNE::Concurrency::SharedMemory::create ( void  )
const char* DUNE::Concurrency::SharedMemory::getName ( void  )
inline

Get name of memory area.

Returns
memory area's name.
void DUNE::Concurrency::SharedMemory::open ( void  )
void* DUNE::Concurrency::SharedMemory::operator* ( void  )
inline

Get pointer to shared memory area.

Returns
pointer to shared memory area.
Collaboration diagram for DUNE::Concurrency::SharedMemory:
Collaboration graph