YARP
Yet Another Robot Platform
yarp::os::Nodes Class Reference

#include <yarp/os/Nodes.h>

+ Inheritance diagram for yarp::os::Nodes:

Detailed Description

Definition at line 19 of file Nodes.h.

Classes

class  Private
 

Public Member Functions

 Nodes ()
 
virtual ~Nodes ()
 
virtual void add (Contactable &contactable) override
 
virtual void remove (Contactable &contactable) override
 
virtual Contact query (const std::string &name, const std::string &category="") override
 
virtual Contact getParent (const std::string &name)
 
virtual Contact getURI (const std::string &name)
 
virtual void prepare (const std::string &name)
 
virtual void update (Contactable &contactable)
 
void interrupt ()
 
bool enable (bool flag)
 
void clear ()
 
void setActiveName (const std::string &name)
 
void addExternalNode (const std::string &name, Node &node)
 
void removeExternalNode (const std::string &name)
 
std::string getActiveName ()
 
bool requireActiveName ()
 
- Public Member Functions inherited from yarp::os::Contactables
virtual ~Contactables ()
 

Constructor & Destructor Documentation

◆ Nodes()

Nodes::Nodes ( )

Definition at line 270 of file Nodes.cpp.

◆ ~Nodes()

Nodes::~Nodes ( )
virtual

Definition at line 275 of file Nodes.cpp.

Member Function Documentation

◆ add()

void Nodes::add ( Contactable contactable)
overridevirtual

Implements yarp::os::Contactables.

Definition at line 280 of file Nodes.cpp.

◆ addExternalNode()

void Nodes::addExternalNode ( const std::string &  name,
Node node 
)

Definition at line 345 of file Nodes.cpp.

◆ clear()

void Nodes::clear ( )

Definition at line 305 of file Nodes.cpp.

◆ enable()

bool Nodes::enable ( bool  flag)

Definition at line 300 of file Nodes.cpp.

◆ getActiveName()

std::string Nodes::getActiveName ( )

Definition at line 335 of file Nodes.cpp.

◆ getParent()

Contact Nodes::getParent ( const std::string &  name)
virtual

Definition at line 310 of file Nodes.cpp.

◆ getURI()

Contact Nodes::getURI ( const std::string &  name)
virtual

Definition at line 315 of file Nodes.cpp.

◆ interrupt()

void Nodes::interrupt ( )

Definition at line 295 of file Nodes.cpp.

◆ prepare()

void Nodes::prepare ( const std::string &  name)
virtual

Definition at line 320 of file Nodes.cpp.

◆ query()

Contact Nodes::query ( const std::string &  name,
const std::string &  category = "" 
)
overridevirtual

Implements yarp::os::Contactables.

Definition at line 290 of file Nodes.cpp.

◆ remove()

void Nodes::remove ( Contactable contactable)
overridevirtual

Implements yarp::os::Contactables.

Definition at line 285 of file Nodes.cpp.

◆ removeExternalNode()

void Nodes::removeExternalNode ( const std::string &  name)

Definition at line 350 of file Nodes.cpp.

◆ requireActiveName()

bool Nodes::requireActiveName ( )

Definition at line 340 of file Nodes.cpp.

◆ setActiveName()

void Nodes::setActiveName ( const std::string &  name)

Definition at line 330 of file Nodes.cpp.

◆ update()

void Nodes::update ( Contactable contactable)
virtual

Definition at line 325 of file Nodes.cpp.


The documentation for this class was generated from the following files: