Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
include
depthai
pipeline
datatype
Tracklets.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <ostream>
4
#include <unordered_map>
5
#include <vector>
6
7
#include "
depthai-shared/datatype/RawTracklets.hpp
"
8
#include "
depthai/pipeline/datatype/Buffer.hpp
"
9
10
namespace
dai
{
11
15
class
Tracklets
:
public
Buffer
{
16
std::shared_ptr<RawBuffer>
serialize
()
const override
;
17
RawTracklets
&
rawdata
;
18
19
public
:
23
Tracklets
();
24
explicit
Tracklets
(std::shared_ptr<RawTracklets> ptr);
25
virtual
~Tracklets
() =
default
;
26
31
std::vector<Tracklet>&
tracklets
;
32
36
Tracklets
&
setTimestamp
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp);
37
41
Tracklets
&
setTimestampDevice
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp);
42
46
Tracklets
&
setSequenceNum
(int64_t sequenceNum);
47
};
48
49
}
// namespace dai
50
51
// Global namespace
52
inline
std::ostream&
operator<<
(std::ostream& out,
const
dai::Tracklet::TrackingStatus
&
status
) {
53
switch
(
status
) {
54
case
dai::Tracklet::TrackingStatus::NEW
:
55
out <<
"NEW"
;
56
break
;
57
case
dai::Tracklet::TrackingStatus::TRACKED
:
58
out <<
"TRACKED"
;
59
break
;
60
case
dai::Tracklet::TrackingStatus::LOST
:
61
out <<
"LOST"
;
62
break
;
63
case
dai::Tracklet::TrackingStatus::REMOVED
:
64
out <<
"REMOVED"
;
65
break
;
66
}
67
return
out;
68
}
dai::Tracklets::setSequenceNum
Tracklets & setSequenceNum(int64_t sequenceNum)
Definition:
Tracklets.cpp:22
dai::Tracklet::TrackingStatus::NEW
@ NEW
dai::Tracklets::tracklets
std::vector< Tracklet > & tracklets
Definition:
Tracklets.hpp:31
dai::RawTracklets
RawTracklets structure.
Definition:
RawTracklets.hpp:59
dai::Tracklets::serialize
std::shared_ptr< RawBuffer > serialize() const override
Definition:
Tracklets.cpp:5
dai::Tracklets::setTimestampDevice
Tracklets & setTimestampDevice(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
Tracklets.cpp:18
dai::copyable_unique_ptr::operator<<
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &os, const copyable_unique_ptr< T > &cu_ptr)
Definition:
copyable_unique_ptr.hpp:374
dai::Tracklets
Definition:
Tracklets.hpp:15
dai::Tracklets::~Tracklets
virtual ~Tracklets()=default
dai::Tracklet::TrackingStatus::REMOVED
@ REMOVED
dai::Tracklets::Tracklets
Tracklets()
Definition:
Tracklets.cpp:9
dai::Tracklet::TrackingStatus
TrackingStatus
Definition:
RawTracklets.hpp:19
RawTracklets.hpp
dai::Tracklet::TrackingStatus::TRACKED
@ TRACKED
dai::Tracklets::rawdata
RawTracklets & rawdata
Definition:
Tracklets.hpp:17
dai::Buffer
Base message - buffer of binary data.
Definition:
Buffer.hpp:13
nanorpc::core::detail::pack::meta::status
status
Definition:
pack_meta.h:33
Buffer.hpp
dai
Definition:
CameraExposureOffset.hpp:6
dai::Tracklets::setTimestamp
Tracklets & setTimestamp(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
Tracklets.cpp:14
dai::Tracklet::TrackingStatus::LOST
@ LOST
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19