mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
03d991c92b
fix some shared memory issues, client uses attach/detach, server uses create/remove shared memory implement CMD_RESET_SIMULATION
24 lines
445 B
C++
24 lines
445 B
C++
#ifndef SHARED_MEMORY_COMMON_H
|
|
#define SHARED_MEMORY_COMMON_H
|
|
|
|
#include "../CommonInterfaces/CommonMultiBodyBase.h"
|
|
|
|
class SharedMemoryCommon : public CommonExampleInterface
|
|
{
|
|
protected:
|
|
|
|
struct GUIHelperInterface* m_guiHelper;
|
|
|
|
public:
|
|
SharedMemoryCommon(GUIHelperInterface* helper)
|
|
:m_guiHelper(helper)
|
|
{
|
|
}
|
|
|
|
virtual void setSharedMemoryKey(int key)=0;
|
|
virtual bool wantsTermination()=0;
|
|
virtual bool isConnected()=0;
|
|
};
|
|
#endif//
|
|
|