REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches

#include <ident.hpp>

Collaboration diagram for CarrierId:

Public Member Functions

bool operator== (const CarrierId &other) const
 
bool operator!= (const CarrierId &other) const
 
bool is_lhs () const
 

Static Public Member Functions

static CarrierId from (uint8_t stack, uint8_t carrier)
 

Public Attributes

StackId stack
 
uint8_t id
 

Detailed Description

Definition at line 18 of file ident.hpp.

Member Function Documentation

◆ from()

static CarrierId CarrierId::from ( uint8_t stack,
uint8_t carrier )
inlinestatic

Definition at line 28 of file ident.hpp.

References StackId::from(), StackId::id, and stack.

Referenced by ClusterId::from(), and blocks::Router::route_carrier().

◆ is_lhs()

bool CarrierId::is_lhs ( ) const
inline

Definition at line 26 of file ident.hpp.

◆ operator!=()

bool CarrierId::operator!= ( const CarrierId & other) const
inline

Definition at line 24 of file ident.hpp.

◆ operator==()

bool CarrierId::operator== ( const CarrierId & other) const
inline

Definition at line 22 of file ident.hpp.

References id, and stack.

Member Data Documentation

◆ id

uint8_t CarrierId::id

Definition at line 20 of file ident.hpp.

Referenced by ClusterId::from(), and operator==().

◆ stack

StackId CarrierId::stack

Definition at line 19 of file ident.hpp.

Referenced by from(), operator==(), and blocks::Router::route_carrier().


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