Microflow 3D  v1.0
MF::GB::NodeID Class Reference

A class that allows to determine the proper NodeID from combined nodeType, uidThreadNr, ThreadCount, ComponentNr and PhaseNr. More...

#include <NodeID.h>

Public Member Functions

 NodeID ()
 
 ~NodeID ()=default
 

Data Fields

union {
   struct {
      uint16_t   nodeType:16
 
      uint16_t   uidThreadNr:16
 
      uint16_t   ThreadCount:16
 
      uint8_t   ComponentNr:8
 
      uint8_t   PhaseNr:8
 
   }   Node
 
   uint64_t   NodeID
 
node_id
 

Detailed Description

A class that allows to determine the proper NodeID from combined nodeType, uidThreadNr, ThreadCount, ComponentNr and PhaseNr.

Definition at line 18 of file NodeID.h.

Constructor & Destructor Documentation

◆ NodeID()

MF::GB::NodeID::NodeID ( )
inline

Definition at line 32 of file NodeID.h.

References node_id, and ~NodeID().

32  {
33  node_id.NodeID = {0};
34  }
union MF::GB::NodeID::@0 node_id

◆ ~NodeID()

MF::GB::NodeID::~NodeID ( )
default

Referenced by NodeID().

Field Documentation

◆ ComponentNr

uint8_t MF::GB::NodeID::ComponentNr

Definition at line 26 of file NodeID.h.

◆ Node

◆ node_id

◆ NodeID

◆ nodeType

uint16_t MF::GB::NodeID::nodeType

Definition at line 23 of file NodeID.h.

◆ PhaseNr

uint8_t MF::GB::NodeID::PhaseNr

Definition at line 27 of file NodeID.h.

◆ ThreadCount

uint16_t MF::GB::NodeID::ThreadCount

Definition at line 25 of file NodeID.h.

◆ uidThreadNr

uint16_t MF::GB::NodeID::uidThreadNr

Definition at line 24 of file NodeID.h.


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