81 std::string getName();
88 void reset(std::string name,
int minsize=0);
111 bool lock(
int minsize=0);
128 void forceMinSize(
int minsize);
141 bool isEmpty()
const;
155 const void*
data()
const;
162 const void* constData()
const;
203 friend struct SharedMemorySegment::Impl;
206 static std::set<std::string> getSegmentSet();
213 static void freeSegment(std::string name);
216 static void freeAllSegments();
224 static void resetBus();
228 static void addSegment(std::string name);
231 static void removeSegment(std::string name);
undocument this line if you encounter any issues!
Definition: Any.h:37
utils::Mutex m_Mutex
instance locking
Definition: SharedMemorySegment.h:165
Implementation of a cross-process shared memory.
Definition: SharedMemorySegment.h:58
This is used to register all created SharedMemorySegments.
Definition: SharedMemorySegment.h:200
ICLQt_API ImgROI data(ImgQ &r)
creates full ROI ROI-struct
#define ICLIO_API
Definition: CompatMacros.h:176
SharedMemorySegment & segment
local reference to SharedMemorySegment
Definition: SharedMemorySegment.h:183
std::string m_Name
the current name of the SharedMemorySegment
Definition: SharedMemorySegment.h:174
int m_Minsize
local minimal size tf the Segment
Definition: SharedMemorySegment.h:177
Impl * m_Impl
pointer to the internal implementation
Definition: SharedMemorySegment.h:171
an easy way to lock a SharedMemorySegment, unlocking at destruction.
Definition: SharedMemorySegment.h:181
Mutex class of the ICL.
Definition: Mutex.h:54