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
SPIOut.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
depthai/pipeline/Node.hpp
>
4
5
// shared
6
#include <
depthai-shared/properties/SPIOutProperties.hpp
>
7
8
namespace
dai
{
9
namespace
node {
10
14
class
SPIOut
:
public
NodeCRTP
<Node, SPIOut, SPIOutProperties> {
15
public
:
16
constexpr
static
const
char
*
NAME
=
"SPIOut"
;
17
18
SPIOut
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props)
19
:
NodeCRTP
<
Node
,
SPIOut
,
SPIOutProperties
>(par, nodeId,
std
::move(props)) {
20
properties
.
busId
= 0;
21
22
setInputRefs
({&
input
});
23
}
24
SPIOut
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId) :
SPIOut
(par, nodeId,
std
::make_unique<
SPIOut
::
Properties
>()) {}
25
31
Input
input
{*
this
,
"in"
, Input::Type::SReceiver,
true
, 8,
true
, {{
DatatypeEnum::Buffer
,
true
}}};
32
38
void
setStreamName
(std::string name) {
39
properties
.
streamName
= name;
40
}
41
46
void
setBusId
(
int
busId) {
47
properties
.
busId
= busId;
48
}
49
};
50
51
}
// namespace node
52
}
// namespace dai
dai::NodeCRTP< Node, SPIOut, SPIOutProperties >::properties
Properties & properties
Underlying properties.
Definition:
Node.hpp:346
dai::node::SPIOut
SPIOut node. Sends messages over SPI.
Definition:
SPIOut.hpp:14
dai::Node::setInputRefs
void setInputRefs(std::initializer_list< Input * > l)
dai::Node
Abstract Node.
Definition:
Node.hpp:29
dai::DatatypeEnum::Buffer
@ Buffer
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::SPIOut::setBusId
void setBusId(int busId)
Definition:
SPIOut.hpp:46
SPIOutProperties.hpp
dai::node::SPIOut::setStreamName
void setStreamName(std::string name)
Definition:
SPIOut.hpp:38
dai::node::SPIOut::NAME
constexpr static const char * NAME
Definition:
SPIOut.hpp:16
dai::node::SPIOut::SPIOut
SPIOut(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
SPIOut.hpp:24
std
Definition:
Node.hpp:366
dai::SPIOutProperties::streamName
std::string streamName
Definition:
SPIOutProperties.hpp:14
dai::node::SPIOut::input
Input input
Definition:
SPIOut.hpp:31
dai::SPIOutProperties::busId
int busId
Definition:
SPIOutProperties.hpp:19
dai::SPIOutProperties
Definition:
SPIOutProperties.hpp:10
dai
Definition:
CameraExposureOffset.hpp:6
Node.hpp
dai::node::SPIOut::SPIOut
SPIOut(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId, std::unique_ptr< Properties > props)
Definition:
SPIOut.hpp:18
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19