#include <yarp/os/Node.h>
Classes | |
class | Helper |
Public Member Functions | |
Node () | |
Node (const std::string &name) | |
virtual | ~Node () |
void | add (Contactable &contactable) override |
add a contactable to this node. More... | |
void | remove (Contactable &contactable) override |
remove specified contactable from the list of contactables associated with this Node. More... | |
virtual Contact | query (const std::string &name, const std::string &category="") override |
query the Node to obtain Contact information about a nested port associated with this Node. More... | |
void | update (Contactable &contactable) |
update should update the contactable with new information. More... | |
void | prepare (const std::string &name) |
prepare if it is not already been done, opens the port of the Node. More... | |
void | interrupt () |
interrupt delegates the call to the Node port interrupt. More... | |
Contact | where () |
where getter fot information about the port of the Node. More... | |
Public Member Functions inherited from yarp::os::Contactables | |
virtual | ~Contactables () |
The Node class.
A simple entity containing information about multiple contacts. Holds a port representing the Node itself and a list of other contactables that represent Publishers and Subscribers nested within the Node.
|
overridevirtual |
add a contactable to this node.
If this node still has no defined name, takes the name from the node specified in the contactable.
contactable | to be adde |
Implements yarp::os::Contactables.
void Node::interrupt | ( | ) |
void Node::prepare | ( | const std::string & | name | ) |
|
overridevirtual |
query the Node to obtain Contact information about a nested port associated with this Node.
name | the nestedName to query (see NestedContact.nestedName) |
category | of the contact to be queried (see NestedContact.category) |
Implements yarp::os::Contactables.
|
overridevirtual |
remove specified contactable from the list of contactables associated with this Node.
contactable | to be removed |
Implements yarp::os::Contactables.
void Node::update | ( | Contactable & | contactable | ) |
Contact Node::where | ( | ) |