SharedMemoryCommon.h 445 B

1234567891011121314151617181920212223
  1. #ifndef SHARED_MEMORY_COMMON_H
  2. #define SHARED_MEMORY_COMMON_H
  3. #include "../CommonInterfaces/CommonMultiBodyBase.h"
  4. class SharedMemoryCommon : public CommonExampleInterface
  5. {
  6. protected:
  7. struct GUIHelperInterface* m_guiHelper;
  8. public:
  9. SharedMemoryCommon(GUIHelperInterface* helper)
  10. :m_guiHelper(helper)
  11. {
  12. }
  13. virtual void setSharedMemoryKey(int key)=0;
  14. virtual bool wantsTermination()=0;
  15. virtual bool isConnected()=0;
  16. };
  17. #endif//