SPIIn node. Receives messages over SPI. More...
#include <SPIIn.hpp>

Public Member Functions | |
| int | getBusId () const |
| Get bus id. More... | |
| std::uint32_t | getMaxDataSize () const |
| Get maximum messages size in bytes. More... | |
| std::uint32_t | getNumFrames () const |
| Get number of frames in pool. More... | |
| std::string | getStreamName () const |
| Get stream name. More... | |
| void | setBusId (int id) |
| void | setMaxDataSize (std::uint32_t maxDataSize) |
| void | setNumFrames (std::uint32_t numFrames) |
| void | setStreamName (const std::string &name) |
| SPIIn (const std::shared_ptr< PipelineImpl > &par, int64_t nodeId) | |
| SPIIn (const std::shared_ptr< PipelineImpl > &par, int64_t nodeId, std::unique_ptr< Properties > props) | |
Public Member Functions inherited from dai::NodeCRTP< Node, SPIIn, SPIInProperties > | |
| std::unique_ptr< Node > | clone () const override |
| const char * | getName () const override |
Public Member Functions inherited from dai::Node | |
| virtual std::unique_ptr< Node > | clone () const =0 |
| Deep copy the node. More... | |
| AssetManager & | getAssetManager () |
| Get node AssetManager as a reference. More... | |
| const AssetManager & | getAssetManager () const |
| Get node AssetManager as a const reference. More... | |
| std::vector< Input * > | getInputRefs () |
| Retrieves reference to node inputs. More... | |
| std::vector< const Input * > | getInputRefs () const |
| Retrieves reference to node inputs. More... | |
| std::vector< Input > | getInputs () |
| Retrieves all nodes inputs. More... | |
| virtual const char * | getName () const =0 |
| Retrieves nodes name. More... | |
| std::vector< Output * > | getOutputRefs () |
| Retrieves reference to node outputs. More... | |
| std::vector< const Output * > | getOutputRefs () const |
| Retrieves reference to node outputs. More... | |
| std::vector< Output > | getOutputs () |
| Retrieves all nodes outputs. More... | |
| Pipeline | getParentPipeline () |
| const Pipeline | getParentPipeline () const |
| Node (const std::shared_ptr< PipelineImpl > &p, Id nodeId, std::unique_ptr< Properties > props) | |
| Constructs Node. More... | |
| virtual | ~Node ()=default |
Public Attributes | |
| Output | out {*this, "out", Output::Type::MSender, {{DatatypeEnum::Buffer, true}}} |
Public Attributes inherited from dai::NodeCRTP< Node, SPIIn, SPIInProperties > | |
| Properties & | properties |
| Underlying properties. More... | |
Public Attributes inherited from dai::Node | |
| const Id | id |
| Id of node. More... | |
| Properties & | properties |
Static Public Attributes | |
| constexpr static const char * | NAME = "SPIIn" |
Additional Inherited Members | |
Public Types inherited from dai::NodeCRTP< Node, SPIIn, SPIInProperties > | |
| using | Properties = SPIInProperties |
Public Types inherited from dai::Node | |
| using | Id = std::int64_t |
| Node identificator. Unique for every node on a single Pipeline. More... | |
Protected Member Functions inherited from dai::Node | |
| virtual Properties & | getProperties () |
| virtual tl::optional< OpenVINO::Version > | getRequiredOpenVINOVersion () |
| void | setInputMapRefs (InputMap *inMapRef) |
| void | setInputMapRefs (std::initializer_list< InputMap * > l) |
| void | setInputRefs (Input *inRef) |
| void | setInputRefs (std::initializer_list< Input * > l) |
| void | setOutputMapRefs (OutputMap *outMapRef) |
| void | setOutputMapRefs (std::initializer_list< OutputMap * > l) |
| void | setOutputRefs (Output *outRef) |
| void | setOutputRefs (std::initializer_list< Output * > l) |
Protected Attributes inherited from dai::Node | |
| AssetManager | assetManager |
| std::unordered_map< std::string, InputMap * > | inputMapRefs |
| std::unordered_map< std::string, Input * > | inputRefs |
| std::unordered_map< std::string, OutputMap * > | outputMapRefs |
| std::unordered_map< std::string, Output * > | outputRefs |
| std::weak_ptr< PipelineImpl > | parent |
| copyable_unique_ptr< Properties > | propertiesHolder |
| dai::node::SPIIn::SPIIn | ( | const std::shared_ptr< PipelineImpl > & | par, |
| int64_t | nodeId | ||
| ) |
| dai::node::SPIIn::SPIIn | ( | const std::shared_ptr< PipelineImpl > & | par, |
| int64_t | nodeId, | ||
| std::unique_ptr< Properties > | props | ||
| ) |
| std::uint32_t dai::node::SPIIn::getMaxDataSize | ( | ) | const |
| std::uint32_t dai::node::SPIIn::getNumFrames | ( | ) | const |
| std::string dai::node::SPIIn::getStreamName | ( | ) | const |
| void dai::node::SPIIn::setBusId | ( | int | id | ) |
| void dai::node::SPIIn::setMaxDataSize | ( | std::uint32_t | maxDataSize | ) |
| void dai::node::SPIIn::setNumFrames | ( | std::uint32_t | numFrames | ) |
| void dai::node::SPIIn::setStreamName | ( | const std::string & | name | ) |
|
staticconstexpr |
| Output dai::node::SPIIn::out {*this, "out", Output::Type::MSender, {{DatatypeEnum::Buffer, true}}} |