PosixSharedMemory.h 436 B

123456789101112131415161718192021
  1. #ifndef POSIX_SHARED_MEMORY_H
  2. #define POSIX_SHARED_MEMORY_H
  3. #include "SharedMemoryInterface.h"
  4. class PosixSharedMemory : public SharedMemoryInterface
  5. {
  6. struct PosixSharedMemoryInteralData* m_internalData;
  7. public:
  8. PosixSharedMemory();
  9. virtual ~PosixSharedMemory();
  10. virtual void* allocateSharedMemory(int key, int size, bool allowCreation);
  11. virtual void releaseSharedMemory(int key, int size);
  12. };
  13. #endif //