AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
router.hpp File Reference
#include <algorithm>
#include <memory>
#include "painlessmesh/callback.hpp"
#include "painlessmesh/layout.hpp"
#include "painlessmesh/logger.hpp"
#include "painlessmesh/protocol.hpp"
Include dependency graph for router.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  painlessmesh
 
namespace  painlessmesh::router
 

Functions

template<class T >
std::shared_ptr< T > painlessmesh::router::findRoute (const layout::Layout< T > &tree, std::function< bool(std::shared_ptr< T >)> func)
 
template<class T >
std::shared_ptr< T > painlessmesh::router::findRoute (const layout::Layout< T > &tree, uint32_t nodeId)
 
template<class T >
std::shared_ptr< T > painlessmesh::router::findLiveRoute (const layout::Layout< T > &tree, uint32_t nodeId, std::shared_ptr< T > exclude=nullptr)
 
template<class T , class U >
bool painlessmesh::router::send (T &package, std::shared_ptr< U > conn, bool priority=false)
 
template<class T , class U >
bool painlessmesh::router::send (T &&package, std::shared_ptr< U > conn, bool priority=false)
 
template<class U >
bool painlessmesh::router::send (protocol::Variant &variant, std::shared_ptr< U > conn, bool priority=false)
 
template<class U >
bool painlessmesh::router::send (protocol::Variant &&variant, std::shared_ptr< U > conn, bool priority=false)
 
template<class T , class U >
bool painlessmesh::router::sendWithPriority (T &package, std::shared_ptr< U > conn, uint8_t priorityLevel)
 
template<class T , class U >
bool painlessmesh::router::sendWithPriority (T &&package, std::shared_ptr< U > conn, uint8_t priorityLevel)
 
template<class U >
bool painlessmesh::router::sendWithPriority (protocol::Variant &variant, std::shared_ptr< U > conn, uint8_t priorityLevel)
 
template<class U >
bool painlessmesh::router::sendWithPriority (protocol::Variant &&variant, std::shared_ptr< U > conn, uint8_t priorityLevel)
 
template<class U >
bool painlessmesh::router::send (protocol::Variant &variant, const layout::Layout< U > &layout)
 
template<class T , class U >
bool painlessmesh::router::send (T &package, const layout::Layout< U > &layout)
 
template<class T , class U >
bool painlessmesh::router::send (T &&package, const layout::Layout< U > &layout)
 
template<class U >
bool painlessmesh::router::send (protocol::Variant &&variant, const layout::Layout< U > &layout)
 
template<class T >
size_t painlessmesh::router::broadcast (protocol::Variant &variant, const layout::Layout< T > &layout, uint32_t exclude)
 
template<class T , class U >
size_t painlessmesh::router::broadcast (T &package, const layout::Layout< U > &layout, uint32_t exclude)
 
template<class T , class U >
size_t painlessmesh::router::broadcast (T &&package, const layout::Layout< U > &layout, uint32_t exclude)
 
template<class T >
size_t painlessmesh::router::broadcast (protocol::Variant &&variant, const layout::Layout< T > &layout, uint32_t exclude)
 
template<class T >
void painlessmesh::router::routePackage (const layout::Layout< T > &layout, std::shared_ptr< T > connection, const TSTRING &pkg, callback::MeshPackageCallbackList< T > &cbl, uint32_t receivedAt)
 
template<class T , class U >
void painlessmesh::router::handleNodeSync (T &mesh, protocol::NodeTree newTree, std::shared_ptr< U > conn)
 
template<class T , typename U >
void painlessmesh::router::addPackageCallback (callback::MeshPackageCallbackList< U > &callbackList, T &mesh)
 

Variables

painlessmesh::logger::LogClass Log
 

Variable Documentation

◆ Log