add command-line argument for example browser and shared memory app, --shared_memory_key=<int>
fix some shared memory issues, client uses attach/detach, server uses create/remove shared memory implement CMD_RESET_SIMULATION
This commit is contained in:
@@ -3,14 +3,19 @@
|
||||
|
||||
#include "../CommonInterfaces/CommonMultiBodyBase.h"
|
||||
|
||||
class SharedMemoryCommon : public CommonMultiBodyBase
|
||||
class SharedMemoryCommon : public CommonExampleInterface
|
||||
{
|
||||
protected:
|
||||
|
||||
struct GUIHelperInterface* m_guiHelper;
|
||||
|
||||
public:
|
||||
SharedMemoryCommon(GUIHelperInterface* helper)
|
||||
:CommonMultiBodyBase(helper)
|
||||
:m_guiHelper(helper)
|
||||
{
|
||||
}
|
||||
|
||||
virtual void setSharedMemoryKey(int key)=0;
|
||||
virtual bool wantsTermination()=0;
|
||||
virtual bool isConnected()=0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user