Public Member Functions | Public Attributes | Private Attributes | List of all members
dai::Node::InputMap Class Reference

#include <Node.hpp>

Inheritance diagram for dai::Node::InputMap:
Inheritance graph
[legend]

Public Member Functions

 InputMap (Input defaultInput)
 
 InputMap (std::string name, Input defaultInput)
 
Inputoperator[] (const std::string &key)
 Create or modify an input. More...
 

Public Attributes

std::string name
 

Private Attributes

Input defaultInput
 

Detailed Description

Input map which keeps track of inputs assigned to a node Extends std::unordered_map<std::string, dai::Node::Input>

Definition at line 258 of file Node.hpp.

Constructor & Destructor Documentation

◆ InputMap() [1/2]

dai::Node::InputMap::InputMap ( Node::Input  defaultInput)

Definition at line 155 of file Node.cpp.

◆ InputMap() [2/2]

dai::Node::InputMap::InputMap ( std::string  name,
Node::Input  defaultInput 
)

Definition at line 154 of file Node.cpp.

Member Function Documentation

◆ operator[]()

Node::Input & dai::Node::InputMap::operator[] ( const std::string &  key)

Create or modify an input.

Definition at line 156 of file Node.cpp.

Member Data Documentation

◆ defaultInput

Input dai::Node::InputMap::defaultInput
private

Definition at line 259 of file Node.hpp.

◆ name

std::string dai::Node::InputMap::name

Definition at line 262 of file Node.hpp.


The documentation for this class was generated from the following files:


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20