Files
bullet3/examples/SharedMemory/SharedMemoryCommon.h
= 46fae61c69 fixes in shared memory:
only allow server to create and initialize shared memory,
client will report failure
intercept signals to cleanup shared memory in standalone app, thanks to
Roland Philippsen.
2015-08-06 11:59:31 -07:00

19 lines
349 B
C++

#ifndef SHARED_MEMORY_COMMON_H
#define SHARED_MEMORY_COMMON_H
#include "../CommonInterfaces/CommonMultiBodyBase.h"
class SharedMemoryCommon : public CommonMultiBodyBase
{
public:
SharedMemoryCommon(GUIHelperInterface* helper)
:CommonMultiBodyBase(helper)
{
}
virtual bool wantsTermination()=0;
virtual bool isConnected()=0;
};
#endif//