MeshNet  1.0.0
Public Member Functions | Static Public Member Functions | Data Fields
MeshMACTableRow Struct Reference

Structure, that contains one row with data from address to MAC lookup table. Designed for gateway node. More...

#include <meshTables.h>

Collaboration diagram for MeshMACTableRow:
Collaboration graph
[legend]

Public Member Functions

 MeshMACTableRow ()=default
 
 MeshMACTableRow (MeshMAC mac)
 
void clear ()
 Removes all data from current row. More...
 
size_t printRow (OSTREAM &stream) const
 
bool operator== (const MeshMACTableRow &another) const
 

Static Public Member Functions

static size_t printHeader (OSTREAM &stream)
 Print header for table of rows. More...
 

Data Fields

MeshMAC MAC
 MAC address. More...
 

Detailed Description

Structure, that contains one row with data from address to MAC lookup table. Designed for gateway node.

Constructor & Destructor Documentation

◆ MeshMACTableRow() [1/2]

MeshMACTableRow::MeshMACTableRow ( )
default

◆ MeshMACTableRow() [2/2]

MeshMACTableRow::MeshMACTableRow ( MeshMAC  mac)

Member Function Documentation

◆ clear()

void MeshMACTableRow::clear ( )
inline

Removes all data from current row.

◆ operator==()

bool MeshMACTableRow::operator== ( const MeshMACTableRow another) const
inline

◆ printHeader()

size_t MeshMACTableRow::printHeader ( OSTREAM stream)
static

Print header for table of rows.

Parameters
streamStream, where header will be printed.
Returns
Returns number of printed characters.

◆ printRow()

size_t MeshMACTableRow::printRow ( OSTREAM stream) const

@breif Prints row to stream.

Parameters
streamStream, where row will be printed.
Returns
Returns number of printed characters.

Field Documentation

◆ MAC

MeshMAC MeshMACTableRow::MAC

MAC address.


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