DUNE: Uniform Navigational Environment
2019.02.1
|
GigE Vision Stream Protocol (GVSP).
Public Member Functions | |
GVSP (DUNE::Tasks::Task *task, uint16_t port, unsigned buffer_capacity=16384) | |
~GVSP (void) | |
void | enqueueDirty (Frame *frame) |
Frame * | dequeueDirty (void) |
void | waitDirty (double timeout) |
void | enqueueClean (Frame *frame) |
Frame * | dequeueClean (void) |
|
inline |
Constructor.
[in] | task | parent task. |
[in] | port | UDP listening port. |
[in] | buffer_capacity | packet buffer capacity. |
|
inline |
Destructor.
|
inline |
Dequeue clean frame.
References enqueueDirty(), DUNE::Tasks::Task::err(), Vision::DFK51BG02H::Frame::setTimeStamp(), and Vision::DFK51BG02H::Frame::writePacket().
|
inline |
Dequeue dirty frame.
Referenced by Vision::DFK51BG02H::Task::onMain().
|
inline |
Enqueue clean frame.
[in] | frame | clean frame. |
Referenced by Vision::DFK51BG02H::Task::onMain(), and Vision::DFK51BG02H::Task::onResourceAcquisition().
|
inline |
|
inline |
Wait for a dirty frame to be available.
[in] | timeout | maximum amount of time to wait. |
Referenced by Vision::DFK51BG02H::Task::onMain().