Unify Node.
More...
#include <unify_node_state_monitor.hpp>
|
| | node (const std::string &_unid) |
| | Construct a new node object. More...
|
| |
| endpoint & | emplace_endpoint (endpoint_id_t endpoint_id) |
| | Create a new endpoint in the endpoint map and return a reference to it. If the endpoint_id alredy exist in the map return a reference to that instead. More...
|
| |
| std::string | to_string () const |
| | Get a string representation of the node. More...
|
| |
◆ node()
| unify::node_state_monitor::node::node |
( |
const std::string & |
_unid | ) |
|
|
inlineexplicit |
Construct a new node object.
When creating a new node, the state is set to ZCL_NODE_STATE_NETWORK_STATUS_OFFLINE.
- Parameters
-
◆ emplace_endpoint()
Create a new endpoint in the endpoint map and return a reference to it. If the endpoint_id alredy exist in the map return a reference to that instead.
- Parameters
-
- Returns
- endpoint&
◆ to_string()
| std::string unify::node_state_monitor::node::to_string |
( |
| ) |
const |
Get a string representation of the node.
- Returns
- std::string.
◆ endpoints
Map of all endpoints under the node, the key to the map is the endpoint identifier.
◆ last_update
Time for last update of the node.
◆ security_info
| uint32_t unify::node_state_monitor::node::security_info |
◆ state
| uint32_t unify::node_state_monitor::node::state = 4 |
◆ unid
| std::string unify::node_state_monitor::node::unid |
The documentation for this class was generated from the following file: