AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
painlessmesh::protocol::NodeTree Class Reference

#include <protocol.hpp>

Inheritance diagram for painlessmesh::protocol::NodeTree:
Inheritance graph
[legend]
Collaboration diagram for painlessmesh::protocol::NodeTree:
Collaboration graph
[legend]

Public Member Functions

 NodeTree ()
 
virtual ~NodeTree ()=default
 
 NodeTree (uint32_t nodeID, bool iAmRoot, bool timeAuthority=false)
 
 NodeTree (JsonObject jsonObj)
 
JsonObject addTo (JsonObject &&jsonObj) const
 
bool operator== (const NodeTree &b) const
 
bool operator!= (const NodeTree &b) const
 
TSTRING toString (bool pretty=false)
 
size_t jsonObjectSize () const
 
void clear ()
 
- Public Member Functions inherited from painlessmesh::protocol::PackageInterface
virtual ~PackageInterface ()=default
 

Public Attributes

uint32_t nodeId = 0
 
bool root = false
 
bool hasTimeAuthority = false
 
std::list< NodeTree > subs
 

Constructor & Destructor Documentation

◆ NodeTree() [1/3]

painlessmesh::protocol::NodeTree::NodeTree ( )
inline

◆ ~NodeTree()

virtual painlessmesh::protocol::NodeTree::~NodeTree ( )
virtualdefault

◆ NodeTree() [2/3]

painlessmesh::protocol::NodeTree::NodeTree ( uint32_t  nodeID,
bool  iAmRoot,
bool  timeAuthority = false 
)
inline

◆ NodeTree() [3/3]

painlessmesh::protocol::NodeTree::NodeTree ( JsonObject  jsonObj)
inline

Member Function Documentation

◆ addTo()

JsonObject painlessmesh::protocol::NodeTree::addTo ( JsonObject &&  jsonObj) const
inlinevirtual

◆ clear()

void painlessmesh::protocol::NodeTree::clear ( )
inline

◆ jsonObjectSize()

size_t painlessmesh::protocol::NodeTree::jsonObjectSize ( ) const
inlinevirtual

◆ operator!=()

bool painlessmesh::protocol::NodeTree::operator!= ( const NodeTree &  b) const
inline

◆ operator==()

bool painlessmesh::protocol::NodeTree::operator== ( const NodeTree &  b) const
inline

◆ toString()

TSTRING painlessmesh::protocol::NodeTree::toString ( bool  pretty = false)
inline

Member Data Documentation

◆ hasTimeAuthority

bool painlessmesh::protocol::NodeTree::hasTimeAuthority = false

◆ nodeId

uint32_t painlessmesh::protocol::NodeTree::nodeId = 0

◆ root

bool painlessmesh::protocol::NodeTree::root = false

◆ subs

std::list<NodeTree> painlessmesh::protocol::NodeTree::subs

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