2015-05-29 22:38:32 +00:00
|
|
|
#ifndef SHARED_MEMORY_COMMON_H
|
|
|
|
#define SHARED_MEMORY_COMMON_H
|
|
|
|
|
|
|
|
#include "../CommonInterfaces/CommonMultiBodyBase.h"
|
|
|
|
|
2015-08-07 07:13:26 +00:00
|
|
|
class SharedMemoryCommon : public CommonExampleInterface
|
2015-05-29 22:38:32 +00:00
|
|
|
{
|
2015-08-07 07:13:26 +00:00
|
|
|
protected:
|
|
|
|
|
|
|
|
struct GUIHelperInterface* m_guiHelper;
|
|
|
|
|
2015-05-29 22:38:32 +00:00
|
|
|
public:
|
|
|
|
SharedMemoryCommon(GUIHelperInterface* helper)
|
2015-08-07 07:13:26 +00:00
|
|
|
:m_guiHelper(helper)
|
2015-05-29 22:38:32 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2015-08-07 07:13:26 +00:00
|
|
|
virtual void setSharedMemoryKey(int key)=0;
|
2015-05-29 22:38:32 +00:00
|
|
|
virtual bool wantsTermination()=0;
|
2015-08-06 18:59:31 +00:00
|
|
|
virtual bool isConnected()=0;
|
2015-05-29 22:38:32 +00:00
|
|
|
};
|
|
|
|
#endif//
|
|
|
|
|