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
src
pipeline
datatype
TrackedFeatures.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/datatype/TrackedFeatures.hpp
"
2
3
namespace
dai
{
4
5
std::shared_ptr<RawBuffer>
TrackedFeatures::serialize
()
const
{
6
return
raw
;
7
}
8
9
TrackedFeatures::TrackedFeatures
()
10
:
Buffer
(
std
::make_shared<
RawTrackedFeatures
>()), rawdata(*dynamic_cast<
RawTrackedFeatures
*>(raw.
get
())), trackedFeatures(rawdata.trackedFeatures) {}
11
TrackedFeatures::TrackedFeatures
(std::shared_ptr<RawTrackedFeatures> ptr)
12
:
Buffer
(
std
::move(ptr)), rawdata(*dynamic_cast<
RawTrackedFeatures
*>(raw.
get
())), trackedFeatures(rawdata.trackedFeatures) {}
13
14
// setters
15
TrackedFeatures
&
TrackedFeatures::setTimestamp
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> tp) {
16
// Set timestamp from timepoint
17
return
static_cast<
TrackedFeatures
&
>
(
Buffer::setTimestamp
(tp));
18
}
19
TrackedFeatures
&
TrackedFeatures::setTimestampDevice
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> tp) {
20
// Set timestamp from timepoint
21
return
static_cast<
TrackedFeatures
&
>
(
Buffer::setTimestampDevice
(tp));
22
}
23
TrackedFeatures
&
TrackedFeatures::setSequenceNum
(int64_t sequenceNum) {
24
return
static_cast<
TrackedFeatures
&
>
(
Buffer::setSequenceNum
(sequenceNum));
25
}
26
27
}
// namespace dai
dai::TrackedFeatures::serialize
std::shared_ptr< RawBuffer > serialize() const override
Definition:
TrackedFeatures.cpp:5
DAI_SPAN_NAMESPACE_NAME::get
constexpr auto get(span< E, S > s) -> decltype(s[N])
Definition:
span.hpp:491
dai::TrackedFeatures::setTimestamp
TrackedFeatures & setTimestamp(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
TrackedFeatures.cpp:15
dai::TrackedFeatures
Definition:
TrackedFeatures.hpp:14
dai::Buffer::setTimestamp
Buffer & setTimestamp(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
Buffer.cpp:39
dai::TrackedFeatures::setSequenceNum
TrackedFeatures & setSequenceNum(int64_t sequenceNum)
Definition:
TrackedFeatures.cpp:23
dai::Buffer::setTimestampDevice
Buffer & setTimestampDevice(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
Buffer.cpp:47
dai::Buffer
Base message - buffer of binary data.
Definition:
Buffer.hpp:13
dai::RawTrackedFeatures
RawTrackedFeatures structure.
Definition:
RawTrackedFeatures.hpp:46
std
Definition:
Node.hpp:366
dai::TrackedFeatures::TrackedFeatures
TrackedFeatures()
Definition:
TrackedFeatures.cpp:9
dai::ADatatype::raw
std::shared_ptr< RawBuffer > raw
Definition:
ADatatype.hpp:15
dai
Definition:
CameraExposureOffset.hpp:6
dai::TrackedFeatures::setTimestampDevice
TrackedFeatures & setTimestampDevice(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
TrackedFeatures.cpp:19
TrackedFeatures.hpp
dai::Buffer::setSequenceNum
Buffer & setSequenceNum(int64_t sequenceNum)
Definition:
Buffer.cpp:55
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19