Unify Endpoint.
More...
#include <unify_node_state_monitor.hpp>
|
| endpoint (endpoint_id_t id) |
| Construct a new endpoint object. More...
|
|
cluster & | emplace_cluster (const std::string &cluster_name) |
| Create a new cluster in the cluster map and return a reference to it. If the cluster_name already exist in the map, then return a reference to that instead. More...
|
|
std::string | to_string () const |
| Get a string representation of the endpoint. More...
|
|
◆ endpoint()
unify::node_state_monitor::endpoint::endpoint |
( |
endpoint_id_t |
id | ) |
|
|
inlineexplicit |
Construct a new endpoint object.
- Parameters
-
◆ emplace_cluster()
cluster & unify::node_state_monitor::endpoint::emplace_cluster |
( |
const std::string & |
cluster_name | ) |
|
Create a new cluster in the cluster map and return a reference to it. If the cluster_name already exist in the map, then return a reference to that instead.
- Parameters
-
cluster_name | ZCL Cluster ID. |
- Returns
- cluster& Reference to the Cluster.
◆ to_string()
std::string unify::node_state_monitor::endpoint::to_string |
( |
| ) |
const |
Get a string representation of the endpoint.
- Returns
- std::string
◆ clusters
std::unordered_map<std::string, cluster> unify::node_state_monitor::endpoint::clusters |
Map of all clusters under the endpoint. The key to the map is the Cluster ID.
◆ endpoint_id
The documentation for this class was generated from the following file: