DUNE: Uniform Navigational Environment
2.4.2
|
Container for raw picture data.
Public Member Functions | |
Frame (unsigned capacity) | |
~Frame (void) | |
void | setTimeStamp (void) |
double | getTimeStamp (void) |
uint8_t * | getData (void) |
unsigned | writePacket (unsigned nr, const uint8_t *data, unsigned size) |
unsigned | getPacketCount (void) |
|
inline |
Constructor.
[in] | capacity | frame capacity in bytes. |
|
inline |
Destructor.
|
inline |
|
inline |
Retrieve the number of packets written to the frame.
This count can be inflated due to duplicated packets.
Referenced by Vision::DFK51BG02H::Task::onMain().
|
inline |
Retrieve frame timestamp.
Referenced by Vision::DFK51BG02H::Task::onMain().
|
inline |
Set frame timestamp to current time.
|
inline |
Write packet to frame.
[in] | nr | frame number. |
[in] | data | packet data. |
[in] | size | packet size. |