YARP  2.3.68+272-20170522.1+git50f0ae7
Yet Another Robot Platform
yarp::os::Nodes Class Reference

#include <yarp/os/Nodes.h>

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

Classes

class  Helper
 

Public Member Functions

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

Private Attributes

Helper *const mPriv
 

Detailed Description

Definition at line 19 of file Nodes.h.

Constructor & Destructor Documentation

◆ Nodes()

Nodes::Nodes ( )

Definition at line 227 of file Nodes.cpp.

◆ ~Nodes()

Nodes::~Nodes ( )
virtual

Definition at line 234 of file Nodes.cpp.

Member Function Documentation

◆ add()

void Nodes::add ( Contactable contactable)
virtual

Implements yarp::os::Contactables.

Definition at line 239 of file Nodes.cpp.

◆ addExternalNode()

void Nodes::addExternalNode ( const ConstString name,
Node node 
)

Definition at line 333 of file Nodes.cpp.

◆ clear()

void Nodes::clear ( )

Definition at line 280 of file Nodes.cpp.

◆ enable()

bool Nodes::enable ( bool  flag)

Definition at line 272 of file Nodes.cpp.

◆ getActiveName()

ConstString Nodes::getActiveName ( )

Definition at line 323 of file Nodes.cpp.

◆ getParent()

Contact Nodes::getParent ( const ConstString name)
virtual

Definition at line 285 of file Nodes.cpp.

◆ getURI()

Contact Nodes::getURI ( const ConstString name)
virtual

Definition at line 290 of file Nodes.cpp.

◆ interrupt()

void Nodes::interrupt ( )

Definition at line 267 of file Nodes.cpp.

◆ prepare()

void Nodes::prepare ( const ConstString name)
virtual

Definition at line 295 of file Nodes.cpp.

◆ query()

Contact Nodes::query ( const ConstString name,
const ConstString category = "" 
)
virtual

Implements yarp::os::Contactables.

Definition at line 259 of file Nodes.cpp.

◆ remove()

void Nodes::remove ( Contactable contactable)
virtual

Implements yarp::os::Contactables.

Definition at line 251 of file Nodes.cpp.

◆ removeExternalNode()

void Nodes::removeExternalNode ( const ConstString name)

Definition at line 340 of file Nodes.cpp.

◆ requireActiveName()

bool Nodes::requireActiveName ( )

Definition at line 328 of file Nodes.cpp.

◆ setActiveName()

void Nodes::setActiveName ( const ConstString name)

Definition at line 318 of file Nodes.cpp.

◆ update()

void Nodes::update ( Contactable contactable)
virtual

Definition at line 306 of file Nodes.cpp.

Member Data Documentation

◆ mPriv

Helper* const yarp::os::Nodes::mPriv
private

Definition at line 49 of file Nodes.h.


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