NodeConnectionSchema.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace dai {
6 
11  int64_t node1Id = -1;
12  std::string node1OutputGroup;
13  std::string node1Output;
14  int64_t node2Id = -1;
15  std::string node2InputGroup;
16  std::string node2Input;
17 
18  bool operator==(const NodeConnectionSchema& rhs) const {
19  return node1Id == rhs.node1Id && node1OutputGroup == rhs.node1OutputGroup && node1Output == rhs.node1Output && node2Id == rhs.node2Id
21  }
22 };
23 
24 DEPTHAI_SERIALIZE_EXT(NodeConnectionSchema, node1Id, node1OutputGroup, node1Output, node2Id, node2InputGroup, node2Input);
25 
26 } // namespace dai
dai::NodeConnectionSchema::node2Id
int64_t node2Id
Definition: NodeConnectionSchema.hpp:14
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
dai::NodeConnectionSchema::node2Input
std::string node2Input
Definition: NodeConnectionSchema.hpp:16
dai::NodeConnectionSchema::node1OutputGroup
std::string node1OutputGroup
Definition: NodeConnectionSchema.hpp:12
dai::NodeConnectionSchema::operator==
bool operator==(const NodeConnectionSchema &rhs) const
Definition: NodeConnectionSchema.hpp:18
dai::NodeConnectionSchema
Definition: NodeConnectionSchema.hpp:10
dai::NodeConnectionSchema::node2InputGroup
std::string node2InputGroup
Definition: NodeConnectionSchema.hpp:15
Serialization.hpp
dai::NodeConnectionSchema::node1Id
int64_t node1Id
Definition: NodeConnectionSchema.hpp:11
dai::NodeConnectionSchema::node1Output
std::string node1Output
Definition: NodeConnectionSchema.hpp:13
dai
Definition: CameraExposureOffset.hpp:6


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