12#error This is a C++ include file and cannot be used from plain C
70 void *
Alloc(
size_t size);
76 int SetName(
const char *newName);
117 int WrLock_(
int idx);
120 void WrUnlock_(
int idx);
Definition ngcbSHM.hpp:201
void BufferUnlock(int idx)
Unlock buffer.
Definition ngcdcsSHM_IPC.cpp:444
void Free()
Release allocated resources.
Definition ngcdcsSHM_IPC.cpp:346
int BufferTryLock(int idx)
Try to lock buffer[idx].
Definition ngcdcsSHM_IPC.cpp:422
ngcdcsSHM_IPC()
Constructor.
Definition ngcdcsSHM_IPC.cpp:29
int BufferLock(int idx)
Lock buffer[idx].
Definition ngcdcsSHM_IPC.cpp:417
void * Alloc(size_t size)
Allocate shared memory area.
Definition ngcdcsSHM_IPC.cpp:127
void InvalidateEvent()
Invalidate last event.
Definition ngcdcsSHM_IPC.cpp:379
int BufferLocked(int idx)
Check if buffer[idx] is locked.
Definition ngcdcsSHM_IPC.cpp:401
int Publish(int idx, const ngcdcs_finfo_t &finfo, int endian, int fullFrame)
Publish buffer.
Definition ngcdcsSHM_IPC.cpp:449
virtual ~ngcdcsSHM_IPC()
Definition ngcdcsSHM_IPC.cpp:61
void BufferWait(int idx)
Wait for buffer[idx].
Definition ngcdcsSHM_IPC.cpp:390
int SetName(const char *newName)
Set new interface name.
Definition ngcdcsSHM_IPC.cpp:348
ngcdcsSHM()
Constructor.
Definition ngcdcsSHM.cpp:29
Definition ngcdcsFINFO.hpp:462
Definition ngcdcsSHM_IPC.hpp:31
ngcdcs_shm_t()
Constructor.
Definition ngcdcsSHM_IPC.hpp:42
void * mem
Shared memory buffer.
Definition ngcdcsSHM_IPC.hpp:39
int id
Shared memory id.
Definition ngcdcsSHM_IPC.hpp:33
int locked
Locked.
Definition ngcdcsSHM_IPC.hpp:36