◆ DesertNode()
DesertNode::DesertNode |
( |
std::string |
name, |
|
|
std::string |
namespace_, |
|
|
rmw_gid_t |
gid |
|
) |
| |
Create a node.
- Parameters
-
name | Name of the node |
namespace_ | Namespace of the node |
gid | Global identifier of the node |
◆ add_client()
Add a client to the current node.
This function pushes the pointer to a client in a vector of all the registered clients related to the current node.
- Parameters
-
◆ add_publisher()
Add a publisher to the current node.
This function pushes the pointer to a publisher in a vector of all the registered publishers related to the current node.
- Parameters
-
◆ add_service()
Add a service to the current node.
This function pushes the pointer to a service in a vector of all the registered services related to the current node.
- Parameters
-
◆ add_subscriber()
Add a subscriber to the current node.
This function pushes the pointer to a subscriber in a vector of all the registered subscribers related to the current node.
- Parameters
-
◆ get_gid()
rmw_gid_t DesertNode::get_gid |
( |
| ) |
|
Retreive the gid of the current entity.
This function returns the global identifier of the current entity in the rmw format.
- Returns
- Global identifier of the entity
◆ remove_client()
Remove a client from the current node.
This function removes the pointer to a client from the vector of all the registered clients related to the current node.
- Parameters
-
◆ remove_publisher()
Remove a publisher from the current node.
This function removes the pointer to a publisher from the vector of all the registered publishers related to the current node.
- Parameters
-
◆ remove_service()
Remove a service from the current node.
This function removes the pointer to a service from the vector of all the registered services related to the current node.
- Parameters
-
◆ remove_subscriber()
Remove a subscriber from the current node.
This function removes the pointer to a subscriber from the vector of all the registered subscribers related to the current node.
- Parameters
-
The documentation for this class was generated from the following files:
- src/desert_classes/DesertNode.h
- src/desert_classes/DesertNode.cpp