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