YARP
Yet Another Robot Platform
yarp::name::NameService Class Referenceabstract

Abstract interface for a name server operator. More...

#include <yarp/name/NameService.h>

+ Inheritance diagram for yarp::name::NameService:

Public Member Functions

virtual ~NameService ()
 
virtual bool apply (yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote)=0
 
virtual void onEvent (yarp::os::Bottle &event)
 
virtual void lock ()
 
virtual void unlock ()
 
virtual void goPublic ()
 
yarp::os::Contact query (const std::string &name) override
 
bool announce (const std::string &name, int activity) override
 
bool process (yarp::os::PortWriter &in, yarp::os::PortReader &out, const yarp::os::Contact &remote) override
 
- Public Member Functions inherited from yarp::os::NameStore
virtual ~NameStore ()
 

Detailed Description

Abstract interface for a name server operator.

Definition at line 39 of file NameService.h.

Constructor & Destructor Documentation

◆ ~NameService()

virtual yarp::name::NameService::~NameService ( )
inlinevirtual

Definition at line 41 of file NameService.h.

Member Function Documentation

◆ announce()

bool yarp::name::NameService::announce ( const std::string &  name,
int  activity 
)
inlineoverridevirtual

◆ apply()

◆ goPublic()

virtual void yarp::name::NameService::goPublic ( )
inlinevirtual

◆ lock()

virtual void yarp::name::NameService::lock ( )
inlinevirtual

◆ onEvent()

virtual void yarp::name::NameService::onEvent ( yarp::os::Bottle event)
inlinevirtual

◆ process()

bool NameService::process ( yarp::os::PortWriter in,
yarp::os::PortReader out,
const yarp::os::Contact remote 
)
overridevirtual

Implements yarp::os::NameStore.

Definition at line 16 of file NameService.cpp.

◆ query()

yarp::os::Contact yarp::name::NameService::query ( const std::string &  name)
inlineoverridevirtual

◆ unlock()

virtual void yarp::name::NameService::unlock ( )
inlinevirtual

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