0.4.1
Loading...
Searching...
No Matches
NAV::NodeRegistry::NodeInfo Struct Reference

Holds information for registered nodes. More...

Public Member Functions

bool hasCompatiblePin (const Pin *pin) const
 Checks if the node has a pin which can be linked.
 

Data Fields

std::function< Node *()> constructor
 Constructor.
 
std::vector< PinInfopinInfoList
 List of port data types.
 
std::string type
 Class Type of the node.
 

Detailed Description

Holds information for registered nodes.

Definition at line 49 of file NodeRegistry.hpp.

Member Function Documentation

◆ hasCompatiblePin()

bool NAV::NodeRegistry::NodeInfo::hasCompatiblePin ( const Pin * pin) const
nodiscard

Checks if the node has a pin which can be linked.

Parameters
[in]pinPin to link to

Definition at line 76 of file NodeRegistry.cpp.

Field Documentation

◆ constructor

std::function<Node*()> NAV::NodeRegistry::NodeInfo::constructor

Constructor.

Definition at line 52 of file NodeRegistry.hpp.

◆ pinInfoList

std::vector<PinInfo> NAV::NodeRegistry::NodeInfo::pinInfoList

List of port data types.

Definition at line 56 of file NodeRegistry.hpp.

◆ type

std::string NAV::NodeRegistry::NodeInfo::type

Class Type of the node.

Definition at line 54 of file NodeRegistry.hpp.


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