OpenDaVINCI  4.15.3
SharedMemoryFactory.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_WRAPPER_SHAREDMEMORYFACTORY_H_
21 #define OPENDAVINCI_CORE_WRAPPER_SHAREDMEMORYFACTORY_H_
22 
23 #include <string>
24 
26 #include <memory>
27 
28 namespace odcore {
29  namespace wrapper {
30 
31 class SharedMemory;
32 
33  using namespace std;
34 
47  static std::shared_ptr<SharedMemory> createSharedMemory(const string &name, const uint32_t &size);
48 
55  static std::shared_ptr<SharedMemory> attachToSharedMemory(const string &name);
56  };
57  }
58 } // odcore::wrapper
59 
60 #endif /*OPENDAVINCI_CORE_WRAPPER_SHAREDMEMORYFACTORY_H_*/
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: SharedMemoryFactory.h:39