OpenDaVINCI  4.16.0
odcore::wrapper::WIN32Impl::WIN32SharedMemory Class Reference

#include <WIN32SharedMemory.h>

Inheritance diagram for odcore::wrapper::WIN32Impl::WIN32SharedMemory:
Inheritance graph

Public Member Functions

virtual ~WIN32SharedMemory ()
 
virtual bool isValid () const
 
virtual const string getName () const
 
virtual void lock ()
 
virtual void unlock ()
 
virtual void * getSharedMemory () const
 
virtual uint32_t getSize () const
 

Friends

class SharedMemoryFactoryWorker< SystemLibraryWin32 >
 

Detailed Description

This class implements a shared memory using WIN32.

SharedMemory.

Constructor & Destructor Documentation

odcore::wrapper::WIN32Impl::WIN32SharedMemory::~WIN32SharedMemory ( )
virtual

Member Function Documentation

const string odcore::wrapper::WIN32Impl::WIN32SharedMemory::getName ( ) const
virtual

This method returns the name for the shared memory.

Returns
name for the shared memory.

Implements odcore::wrapper::SharedMemory.

void * odcore::wrapper::WIN32Impl::WIN32SharedMemory::getSharedMemory ( ) const
virtual

This method returns a pointer to the beginning of the shared memory.

Returns
Pointer to the beginning of the shared memory.

Implements odcore::wrapper::SharedMemory.

uint32_t odcore::wrapper::WIN32Impl::WIN32SharedMemory::getSize ( ) const
virtual

This method returns the size of the shared memory.

Returns
Size of the shared memory.

Implements odcore::wrapper::SharedMemory.

bool odcore::wrapper::WIN32Impl::WIN32SharedMemory::isValid ( ) const
virtual

This method returns true if the shared memory is valid.

Returns
true if the shared memory is valid.

Implements odcore::wrapper::SharedMemory.

void odcore::wrapper::WIN32Impl::WIN32SharedMemory::lock ( )
virtual

This method tries to lock the shared memory.

Implements odcore::wrapper::SharedMemory.

void odcore::wrapper::WIN32Impl::WIN32SharedMemory::unlock ( )
virtual

This method unlocks the shared memory.

Implements odcore::wrapper::SharedMemory.

Friends And Related Function Documentation