The yarp::os::Contactables class.
More...
#include <yarp/os/Contactables.h>
The yarp::os::Contactables class.
Generic interface for a container of yarp::os::Contactable
objects. Implemented by ROS related classes yarp::os::Node
and yarp::os::Nodes
.
Definition at line 23 of file Contactables.h.
◆ ~Contactables()
yarp::os::Contactables::~Contactables |
( |
| ) |
|
|
virtualdefault |
◆ add()
virtual void yarp::os::Contactables::add |
( |
Contactable & |
contactable | ) |
|
|
pure virtual |
◆ query()
virtual Contact yarp::os::Contactables::query |
( |
const std::string & |
name, |
|
|
const std::string & |
category = "" |
|
) |
| |
|
pure virtual |
query the container to obtain a specified contact.
- Parameters
-
name | the name of the Contact |
category | the category of the Contact (tells if the Contact has a nested writer or reader, see NestedContact.category) |
- Returns
- the first matched Contact with the specified name [and category] if found, an empty contact otherwise
Implemented in yarp::os::Nodes, and yarp::os::Node.
◆ remove()
virtual void yarp::os::Contactables::remove |
( |
Contactable & |
contactable | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: