class mesh;
class node;
class channel;
-class submesh;
/// Severity of log messages generated by MeshLink.
typedef meshlink_log_level_t log_level_t;
class node: public meshlink_node_t {
};
-/// A class describing a MeshLink Sub-Mesh.
-class submesh: public meshlink_submesh_t {
-};
-
/// A class describing a MeshLink channel.
class channel: public meshlink_channel_t {
public:
return meshlink_get_node_reachability(handle, node, last_reachable, last_unreachable);
}
- /// Get a handle for a specific submesh.
- /** This function returns a handle for the submesh with the given name.
- *
- * @param name The name of the submesh for which a handle is requested.
- *
- * @return A pointer to a meshlink::submesh which represents the requested submesh,
- * or NULL if the requested submesh does not exist.
- */
- submesh *get_submesh(const char *name) {
- return (submesh *)meshlink_get_submesh(handle, name);
- }
-
/// Get a handle for our own node.
/** This function returns a handle for the local node.
*