13#error This is a C++ include file and cannot be used from plain C
71 void *
Alloc(
size_t size);
77 int SetName(
const char *newName);
118 int WrLock_(
int idx);
121 void WrUnlock_(
int idx);
Definition ngcbSHM.hpp:202
void BufferUnlock(int idx)
Unlock buffer.
Definition ngcdcsSHM_IPC.cpp:445
void Free()
Release allocated resources.
Definition ngcdcsSHM_IPC.cpp:347
int BufferTryLock(int idx)
Try to lock buffer[idx].
Definition ngcdcsSHM_IPC.cpp:423
ngcdcsSHM_IPC()
Constructor.
Definition ngcdcsSHM_IPC.cpp:30
int BufferLock(int idx)
Lock buffer[idx].
Definition ngcdcsSHM_IPC.cpp:418
void * Alloc(size_t size)
Allocate shared memory area.
Definition ngcdcsSHM_IPC.cpp:128
void InvalidateEvent()
Invalidate last event.
Definition ngcdcsSHM_IPC.cpp:380
int BufferLocked(int idx)
Check if buffer[idx] is locked.
Definition ngcdcsSHM_IPC.cpp:402
int Publish(int idx, const ngcdcs_finfo_t &finfo, int endian, int fullFrame)
Publish buffer.
Definition ngcdcsSHM_IPC.cpp:450
virtual ~ngcdcsSHM_IPC()
Definition ngcdcsSHM_IPC.cpp:62
void BufferWait(int idx)
Wait for buffer[idx].
Definition ngcdcsSHM_IPC.cpp:391
int SetName(const char *newName)
Set new interface name.
Definition ngcdcsSHM_IPC.cpp:349
ngcdcsSHM()
Constructor.
Definition ngcdcsSHM.cpp:30
Definition ngcdcsFINFO.hpp:468
Definition ngcdcsSHM_IPC.hpp:32
ngcdcs_shm_t()
Constructor.
Definition ngcdcsSHM_IPC.hpp:43
void * mem
Shared memory buffer.
Definition ngcdcsSHM_IPC.hpp:40
int id
Shared memory id.
Definition ngcdcsSHM_IPC.hpp:34
int locked
Locked.
Definition ngcdcsSHM_IPC.hpp:37