OpenDaVINCI  4.16.0
SharedMemoryFactoryWorker.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_WRAPPER_SHAREDMEMORYFACTORYWORKER_H_
21 #define OPENDAVINCI_CORE_WRAPPER_SHAREDMEMORYFACTORYWORKER_H_
22 
24 
25 #include <memory>
28 
29 namespace odcore {
30  namespace wrapper {
31 
32  using namespace std;
33 
45  template <SystemLibraryProducts product>
46  class OPENDAVINCI_API SharedMemoryFactoryWorker {
47  public:
55  static std::shared_ptr<SharedMemory> createSharedMemory(const string &name, const uint32_t &size);
56 
63  static std::shared_ptr<SharedMemory> attachToSharedMemory(const string &name);
64  };
65 
66  }
67 } // odcore::wrapper
68 
69 #endif /*OPENDAVINCI_CORE_WRAPPER_SHAREDMEMORYFACTORYWORKER_H_*/
#define OPENDAVINCI_API
Definition: opendavinci.h:67