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
node
Sync.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <chrono>
4
5
#include "
depthai-shared/properties/SyncProperties.hpp
"
6
#include "
depthai/pipeline/Node.hpp
"
7
8
namespace
dai
{
9
namespace
node {
10
11
class
Sync
:
public
NodeCRTP
<Node, Sync, SyncProperties> {
12
public
:
13
constexpr
static
const
char
*
NAME
=
"Sync"
;
14
Sync
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId);
15
16
Sync
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props);
17
21
InputMap
inputs
;
22
26
Output
out
{*
this
,
"out"
, Output::Type::MSender, {{
DatatypeEnum::MessageGroup
,
false
}}};
27
32
void
setSyncThreshold
(std::chrono::nanoseconds syncThreshold);
33
41
void
setSyncAttempts
(
int
syncAttempts);
42
46
std::chrono::nanoseconds
getSyncThreshold
()
const
;
47
51
int
getSyncAttempts
()
const
;
52
};
53
54
}
// namespace node
55
}
// namespace dai
dai::node::Sync::NAME
constexpr static const char * NAME
Definition:
Sync.hpp:13
dai::node::Sync
Definition:
Sync.hpp:11
dai::node::Sync::Sync
Sync(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
Sync.cpp:6
dai::node::Sync::getSyncAttempts
int getSyncAttempts() const
Definition:
Sync.cpp:26
dai::Node::Output
Definition:
Node.hpp:67
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::Sync::inputs
InputMap inputs
Definition:
Sync.hpp:21
dai::node::Sync::setSyncThreshold
void setSyncThreshold(std::chrono::nanoseconds syncThreshold)
Definition:
Sync.cpp:14
SyncProperties.hpp
dai::node::Sync::getSyncThreshold
std::chrono::nanoseconds getSyncThreshold() const
Definition:
Sync.cpp:22
dai::node::Sync::setSyncAttempts
void setSyncAttempts(int syncAttempts)
Definition:
Sync.cpp:18
dai::DatatypeEnum::MessageGroup
@ MessageGroup
dai
Definition:
CameraExposureOffset.hpp:6
Node.hpp
dai::node::Sync::out
Output out
Definition:
Sync.hpp:26
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19