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
XLinkIn.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/node/XLinkIn.hpp
"
2
3
namespace
dai
{
4
namespace
node {
5
6
XLinkIn::XLinkIn
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId) :
XLinkIn
(par, nodeId,
std
::make_unique<
XLinkIn
::
Properties
>()) {}
7
XLinkIn::XLinkIn
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props)
8
:
NodeCRTP
<
Node
,
XLinkIn
,
XLinkInProperties
>(par, nodeId,
std
::move(props)) {
9
setOutputRefs
(&
out
);
10
}
11
12
void
XLinkIn::setStreamName
(
const
std::string& name) {
13
properties
.
streamName
= name;
14
}
15
16
void
XLinkIn::setMaxDataSize
(std::uint32_t maxDataSize) {
17
properties
.
maxDataSize
= maxDataSize;
18
}
19
20
void
XLinkIn::setNumFrames
(std::uint32_t numFrames) {
21
properties
.
numFrames
= numFrames;
22
}
23
24
std::string
XLinkIn::getStreamName
()
const
{
25
return
properties
.
streamName
;
26
}
27
28
std::uint32_t
XLinkIn::getMaxDataSize
()
const
{
29
return
properties
.
maxDataSize
;
30
}
31
32
std::uint32_t
XLinkIn::getNumFrames
()
const
{
33
return
properties
.
numFrames
;
34
}
35
36
}
// namespace node
37
}
// namespace dai
dai::NodeCRTP< Node, XLinkIn, XLinkInProperties >::properties
Properties & properties
Underlying properties.
Definition:
Node.hpp:346
dai::node::XLinkIn::setMaxDataSize
void setMaxDataSize(std::uint32_t maxDataSize)
Definition:
XLinkIn.cpp:16
dai::node::XLinkIn::out
Output out
Definition:
XLinkIn.hpp:25
dai::node::XLinkIn::setNumFrames
void setNumFrames(std::uint32_t numFrames)
Definition:
XLinkIn.cpp:20
dai::XLinkInProperties::numFrames
std::uint32_t numFrames
Definition:
XLinkInProperties.hpp:25
dai::XLinkInProperties::streamName
std::string streamName
Definition:
XLinkInProperties.hpp:15
dai::Node
Abstract Node.
Definition:
Node.hpp:29
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::XLinkIn::setStreamName
void setStreamName(const std::string &name)
Definition:
XLinkIn.cpp:12
XLinkIn.hpp
dai::Properties
Base Properties structure.
Definition:
Properties.hpp:8
dai::Node::setOutputRefs
void setOutputRefs(std::initializer_list< Output * > l)
dai::XLinkInProperties::maxDataSize
std::uint32_t maxDataSize
Definition:
XLinkInProperties.hpp:20
std
Definition:
Node.hpp:366
dai::node::XLinkIn::getStreamName
std::string getStreamName() const
Get stream name.
Definition:
XLinkIn.cpp:24
dai::node::XLinkIn::getNumFrames
std::uint32_t getNumFrames() const
Get number of frames in pool.
Definition:
XLinkIn.cpp:32
dai::node::XLinkIn
XLinkIn node. Receives messages over XLink.
Definition:
XLinkIn.hpp:14
dai::node::XLinkIn::XLinkIn
XLinkIn(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
XLinkIn.cpp:6
dai::node::XLinkIn::getMaxDataSize
std::uint32_t getMaxDataSize() const
Get maximum messages size in bytes.
Definition:
XLinkIn.cpp:28
dai
Definition:
CameraExposureOffset.hpp:6
dai::XLinkInProperties
Definition:
XLinkInProperties.hpp:11
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19