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
SPIIn.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/SPIInProperties.hpp
>
7
8
namespace
dai
{
9
namespace
node {
10
14
class
SPIIn
:
public
NodeCRTP
<Node, SPIIn, SPIInProperties> {
15
public
:
16
constexpr
static
const
char
*
NAME
=
"SPIIn"
;
17
18
SPIIn
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId);
19
SPIIn
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props);
20
24
Output
out
{*
this
,
"out"
, Output::Type::MSender, {{
DatatypeEnum::Buffer
,
true
}}};
25
31
void
setStreamName
(
const
std::string& name);
32
37
void
setBusId
(
int
id
);
38
43
void
setMaxDataSize
(std::uint32_t maxDataSize);
44
49
void
setNumFrames
(std::uint32_t numFrames);
50
52
std::string
getStreamName
()
const
;
54
int
getBusId
()
const
;
56
std::uint32_t
getMaxDataSize
()
const
;
58
std::uint32_t
getNumFrames
()
const
;
59
};
60
61
}
// namespace node
62
}
// namespace dai
dai::node::SPIIn::setMaxDataSize
void setMaxDataSize(std::uint32_t maxDataSize)
Definition:
SPIIn.cpp:21
dai::node::SPIIn::getStreamName
std::string getStreamName() const
Get stream name.
Definition:
SPIIn.cpp:29
SPIInProperties.hpp
dai::DatatypeEnum::Buffer
@ Buffer
dai::node::SPIIn::getMaxDataSize
std::uint32_t getMaxDataSize() const
Get maximum messages size in bytes.
Definition:
SPIIn.cpp:37
dai::Node::Output
Definition:
Node.hpp:67
dai::NodeCRTP
Definition:
Node.hpp:342
dai::node::SPIIn::setNumFrames
void setNumFrames(std::uint32_t numFrames)
Definition:
SPIIn.cpp:25
dai::node::SPIIn::getBusId
int getBusId() const
Get bus id.
Definition:
SPIIn.cpp:33
dai::node::SPIIn::SPIIn
SPIIn(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
SPIIn.cpp:6
dai::node::SPIIn
SPIIn node. Receives messages over SPI.
Definition:
SPIIn.hpp:14
dai::node::SPIIn::setBusId
void setBusId(int id)
Definition:
SPIIn.cpp:17
dai::node::SPIIn::out
Output out
Definition:
SPIIn.hpp:24
dai::node::SPIIn::getNumFrames
std::uint32_t getNumFrames() const
Get number of frames in pool.
Definition:
SPIIn.cpp:41
dai
Definition:
CameraExposureOffset.hpp:6
Node.hpp
dai::node::SPIIn::NAME
constexpr static const char * NAME
Definition:
SPIIn.hpp:16
dai::node::SPIIn::setStreamName
void setStreamName(const std::string &name)
Definition:
SPIIn.cpp:13
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19