added preliminary shared memory physics client/server

fix a bug in CommonMultiBodyBase: don't use data if it hasn't been allocated
This commit is contained in:
=
2015-05-28 16:05:24 -07:00
parent 8005b7167e
commit 82576d0bee
13 changed files with 489 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
#ifndef POSIX_SHARED_MEMORY_H
#define POSIX_SHARED_MEMORY_H
#include "SharedMemoryInterface.h"
class PosixSharedMemory : public SharedMemoryInterface
{
struct PosixSharedMemoryInteralData* m_internalData;
public:
PosixSharedMemory();
virtual ~PosixSharedMemory();
virtual void* allocateSharedMemory(int key, int size);
virtual void releaseSharedMemory(int key, int size);
};
#endif //