#include <ngcdttIPC.hpp>
|
| | ngcdttIPC () |
| | Constructor.
|
| |
| | ngcdttIPC (int n) |
| | Constructor with number of display buffers.
|
| |
| virtual | ~ngcdttIPC () |
| | Destructor.
|
| |
| int | Configure (const char *name, int nx, int ny) |
| | Initialize/configure publisher.
|
| |
| void | Shutdown () |
| | Shutdown call-back.
|
| |
| int | IdxOut () |
| | Return actual display buffer index.
|
| |
| int | IdxIn () |
| | Return the buffer index to be used for next transfer.
|
| |
| int | Locked (int idx) |
| | Check whether the image stored in frame[idx] is locked.
|
| |
| int | Lock (int idx) |
| | Lock frame[idx].
|
| |
| int | TryLock (int idx) |
| | Try to lock frame[idx].
|
| |
| int | Unlock (int idx) |
| | Unlock frame[idx].
|
| |
| int | Wait (int idx) |
| | Wait until the image stored in frame[idx] is unlocked.
|
| |
| int | Publish (int idx) |
| | Publish the image stored in frame[idx].
|
| |
| void | Invalidate (int idx) |
| | Invalidate the image stored in frame[idx].
|
| |
| | ngcdttPUBLISH () |
| | Constructor.
|
| |
| | ngcdttPUBLISH (int n) |
| | Constructor with number of display buffers.
|
| |
| virtual | ~ngcdttPUBLISH () |
| | Destructor.
|
| |
| char * | ErrMsg () |
| | Return actual error message.
|
| |
| const char * | Type () |
| | Return display type.
|
| |
| int | BytesPerPix (int dataType) |
| | Return number of bytes per pixel for specific data type.
|
| |
| int | Size (ngcpp_hdr_t hdr) |
| | Compute frame size in bytes.
|
| |
| int | NumBuf () |
| | Return number of available display buffers.
|
| |
| void | NumBuf (int n) |
| | Set new number of display buffers.
|
| |
| ngcdtt_frame_t * | Frame () |
| | Get current frame slot.
|
| |
| int | Publish () |
| | Publish current frame buffer.
|
| |
| int | TryLock () |
| | Try to lock current frame bbuffer.
|
| |
| int | Lock () |
| | Lock current frame buffer.
|
| |
| int | Unlock () |
| | Unlock current frame buffer.
|
| |
| void | Invalidate () |
| | Invalidate current frame buffer.
|
| |
◆ ngcdttIPC() [1/2]
◆ ngcdttIPC() [2/2]
| ngcdttIPC::ngcdttIPC |
( |
int | n | ) |
|
|
explicit |
Constructor with number of display buffers.
◆ ~ngcdttIPC()
| ngcdttIPC::~ngcdttIPC |
( |
| ) |
|
|
virtual |
◆ Configure()
| int ngcdttIPC::Configure |
( |
const char * | name, |
|
|
int | nx, |
|
|
int | ny ) |
|
virtual |
Initialize/configure publisher.
Reimplemented from ngcdttPUBLISH.
◆ IdxIn()
Return the buffer index to be used for next transfer.
Reimplemented from ngcdttPUBLISH.
◆ IdxOut()
| int ngcdttIPC::IdxOut |
( |
| ) |
|
|
virtual |
Return actual display buffer index.
Reimplemented from ngcdttPUBLISH.
◆ Invalidate()
| void ngcdttIPC::Invalidate |
( |
int | idx | ) |
|
|
virtual |
Invalidate the image stored in frame[idx].
Reimplemented from ngcdttPUBLISH.
◆ Lock()
| int ngcdttIPC::Lock |
( |
int | idx | ) |
|
|
virtual |
◆ Locked()
| int ngcdttIPC::Locked |
( |
int | idx | ) |
|
|
virtual |
Check whether the image stored in frame[idx] is locked.
Reimplemented from ngcdttPUBLISH.
◆ Publish()
| int ngcdttIPC::Publish |
( |
int | idx | ) |
|
|
virtual |
Publish the image stored in frame[idx].
Reimplemented from ngcdttPUBLISH.
◆ Shutdown()
| void ngcdttIPC::Shutdown |
( |
| ) |
|
|
virtual |
◆ TryLock()
| int ngcdttIPC::TryLock |
( |
int | idx | ) |
|
|
virtual |
◆ Unlock()
| int ngcdttIPC::Unlock |
( |
int | idx | ) |
|
|
virtual |
◆ Wait()
| int ngcdttIPC::Wait |
( |
int | idx | ) |
|
|
virtual |
Wait until the image stored in frame[idx] is unlocked.
Reimplemented from ngcdttPUBLISH.
The documentation for this class was generated from the following files: