0.2.0
Loading...
Searching...
No Matches
Node.hpp File Reference

Node Class. More...

Go to the source code of this file.

Classes

struct  NAV::Node::Kind
 Kind information class. More...
 
class  NAV::Node
 Abstract parent class for all nodes. More...
 

Typedefs

using json
 json namespace
 

Functions

void NAV::FlowExecutor::deinitialize ()
 Deinitialize all Nodes.
 
void NAV::FlowExecutor::execute ()
 Main task of the FlowExecutor thread.
 
void NAV::from_json (const json &j, Node &node)
 Converts the provided json object into a node object.
 
constexpr bool NAV::operator!= (const Node::Kind &lhs, const Node::Kind &rhs)
 Inequal compares Node::Kind values.
 
constexpr bool NAV::operator!= (const Node::Kind &lhs, const Node::Kind::Value &rhs)
 Inequal compares Node::Kind values.
 
constexpr bool NAV::operator!= (const Node::Kind::Value &lhs, const Node::Kind &rhs)
 Inequal compares Node::Kind values.
 
constexpr bool NAV::operator== (const Node::Kind &lhs, const Node::Kind &rhs)
 Equal compares Node::Kind values.
 
constexpr bool NAV::operator== (const Node::Kind &lhs, const Node::Kind::Value &rhs)
 Equal compares Node::Kind values.
 
constexpr bool NAV::operator== (const Node::Kind::Value &lhs, const Node::Kind &rhs)
 Equal compares Node::Kind values.
 
void NAV::NodeRegistry::RegisterNodeTypes ()
 Register all available Node types for the program.
 
void NAV::gui::menus::ShowRunMenu ()
 Show the run menu dropdown.
 
void NAV::to_json (json &j, const Node &node)
 Converts the provided node into a json object.
 

Detailed Description

Node Class.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2020-12-14

Function Documentation

◆ from_json()

void NAV::from_json ( const json & j,
Node & node )

Converts the provided json object into a node object.

Parameters
[in]jJson object with the needed values
[out]nodeObject to fill from the json

◆ operator!=() [1/3]

constexpr bool NAV::operator!= ( const Node::Kind & lhs,
const Node::Kind & rhs )
constexpr

Inequal compares Node::Kind values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator!=() [2/3]

constexpr bool NAV::operator!= ( const Node::Kind & lhs,
const Node::Kind::Value & rhs )
constexpr

Inequal compares Node::Kind values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator!=() [3/3]

constexpr bool NAV::operator!= ( const Node::Kind::Value & lhs,
const Node::Kind & rhs )
constexpr

Inequal compares Node::Kind values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator==() [1/3]

constexpr bool NAV::operator== ( const Node::Kind & lhs,
const Node::Kind & rhs )
constexpr

Equal compares Node::Kind values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator==() [2/3]

constexpr bool NAV::operator== ( const Node::Kind & lhs,
const Node::Kind::Value & rhs )
constexpr

Equal compares Node::Kind values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ operator==() [3/3]

constexpr bool NAV::operator== ( const Node::Kind::Value & lhs,
const Node::Kind & rhs )
constexpr

Equal compares Node::Kind values.

Parameters
[in]lhsLeft-hand side of the operator
[in]rhsRight-hand side of the operator
Returns
Whether the comparison was successful

◆ to_json()

void NAV::to_json ( json & j,
const Node & node )

Converts the provided node into a json object.

Parameters
[out]jJson object which gets filled with the info
[in]nodeNode to convert into json