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
node
XLinkOut.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/node/XLinkOut.hpp
"
2
3
namespace
dai
{
4
namespace
node {
5
6
XLinkOut::XLinkOut
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId) :
XLinkOut
(par, nodeId,
std
::make_unique<
XLinkOut
::
Properties
>()) {}
7
XLinkOut::XLinkOut
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props)
8
:
NodeCRTP
<
Node
,
XLinkOut
,
XLinkOutProperties
>(par, nodeId,
std
::move(props)) {
9
properties
.
maxFpsLimit
= -1;
10
setInputRefs
(&
input
);
11
}
12
13
void
XLinkOut::setStreamName
(
const
std::string& name) {
14
properties
.
streamName
= name;
15
}
16
17
void
XLinkOut::setFpsLimit
(
float
fps
) {
18
properties
.
maxFpsLimit
=
fps
;
19
}
20
21
void
XLinkOut::setMetadataOnly
(
bool
metadataOnly) {
22
properties
.
metadataOnly
= metadataOnly;
23
}
24
25
std::string
XLinkOut::getStreamName
()
const
{
26
return
properties
.
streamName
;
27
}
28
29
float
XLinkOut::getFpsLimit
()
const
{
30
return
properties
.
maxFpsLimit
;
31
}
32
33
bool
XLinkOut::getMetadataOnly
()
const
{
34
return
properties
.
metadataOnly
;
35
}
36
37
}
// namespace node
38
}
// namespace dai
dai::NodeCRTP< Node, XLinkOut, XLinkOutProperties >::properties
Properties & properties
Underlying properties.
Definition:
Node.hpp:346
dai::node::XLinkOut
XLinkOut node. Sends messages over XLink.
Definition:
XLinkOut.hpp:14
dai::node::XLinkOut::getStreamName
std::string getStreamName() const
Get stream name.
Definition:
XLinkOut.cpp:25
dai::node::XLinkOut::getMetadataOnly
bool getMetadataOnly() const
Get whether to transfer only messages attributes and not buffer data.
Definition:
XLinkOut.cpp:33
dai::XLinkOutProperties::metadataOnly
bool metadataOnly
Definition:
XLinkOutProperties.hpp:24
dai::node::XLinkOut::setMetadataOnly
void setMetadataOnly(bool metadataOnly)
Definition:
XLinkOut.cpp:21
dai::Node::setInputRefs
void setInputRefs(std::initializer_list< Input * > l)
fps
static constexpr int fps
Definition:
rgb_depth_aligned.cpp:12
dai::Node
Abstract Node.
Definition:
Node.hpp:29
dai::node::XLinkOut::getFpsLimit
float getFpsLimit() const
Get rate limit in messages per second.
Definition:
XLinkOut.cpp:29
dai::node::XLinkOut::setFpsLimit
void setFpsLimit(float fps)
Definition:
XLinkOut.cpp:17
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::XLinkOut::input
Input input
Definition:
XLinkOut.hpp:27
dai::XLinkOutProperties::streamName
std::string streamName
Definition:
XLinkOutProperties.hpp:19
dai::XLinkOutProperties::maxFpsLimit
float maxFpsLimit
Definition:
XLinkOutProperties.hpp:14
dai::Properties
Base Properties structure.
Definition:
Properties.hpp:8
std
Definition:
Node.hpp:366
dai::node::XLinkOut::XLinkOut
XLinkOut(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
XLinkOut.cpp:6
XLinkOut.hpp
dai::node::XLinkOut::setStreamName
void setStreamName(const std::string &name)
Definition:
XLinkOut.cpp:13
dai::XLinkOutProperties
Definition:
XLinkOutProperties.hpp:10
dai
Definition:
CameraExposureOffset.hpp:6
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19