#include <Tracklets.hpp>
Public Member Functions | |
Tracklets & | setSequenceNum (int64_t sequenceNum) |
Tracklets & | setTimestamp (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
Tracklets & | setTimestampDevice (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
Tracklets () | |
Tracklets (std::shared_ptr< RawTracklets > ptr) | |
virtual | ~Tracklets ()=default |
![]() | |
Buffer () | |
Creates Buffer message. More... | |
Buffer (std::shared_ptr< dai::RawBuffer > ptr) | |
std::vector< std::uint8_t > & | getData () const |
Get non-owning reference to internal buffer. More... | |
int64_t | getSequenceNum () const |
std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestamp () const |
std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestampDevice () const |
void | setData (const std::vector< std::uint8_t > &data) |
void | setData (std::vector< std::uint8_t > &&data) |
Buffer & | setSequenceNum (int64_t sequenceNum) |
Buffer & | setTimestamp (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
Buffer & | setTimestampDevice (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
virtual | ~Buffer ()=default |
![]() | |
ADatatype (std::shared_ptr< RawBuffer > r) | |
std::shared_ptr< RawBuffer > | getRaw () const |
virtual | ~ADatatype ()=default |
Public Attributes | |
std::vector< Tracklet > & | tracklets |
Private Member Functions | |
std::shared_ptr< RawBuffer > | serialize () const override |
Private Attributes | |
RawTracklets & | rawdata |
Additional Inherited Members | |
![]() | |
std::shared_ptr< RawBuffer > | raw |
Tracklets message. Carries object tracking information.
Definition at line 15 of file Tracklets.hpp.
dai::Tracklets::Tracklets | ( | ) |
Construct Tracklets message.
Definition at line 9 of file Tracklets.cpp.
|
explicit |
Definition at line 10 of file Tracklets.cpp.
|
virtualdefault |
|
overrideprivatevirtual |
Reimplemented from dai::Buffer.
Definition at line 5 of file Tracklets.cpp.
Tracklets & dai::Tracklets::setSequenceNum | ( | int64_t | sequenceNum | ) |
Retrieves image sequence number
Definition at line 22 of file Tracklets.cpp.
Tracklets & dai::Tracklets::setTimestamp | ( | std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | timestamp | ) |
Sets image timestamp related to dai::Clock::now()
Definition at line 14 of file Tracklets.cpp.
Tracklets & dai::Tracklets::setTimestampDevice | ( | std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | timestamp | ) |
Sets image timestamp related to dai::Clock::now()
Definition at line 18 of file Tracklets.cpp.
|
private |
Definition at line 17 of file Tracklets.hpp.
std::vector<Tracklet>& dai::Tracklets::tracklets |
Retrieve data for Tracklets.
Definition at line 31 of file Tracklets.hpp.