YARP
Yet Another Robot Platform
yarp::serversql::impl::NameServiceOnTriples Class Reference

An implementation of name service operators on a triple store. More...

#include <yarp/serversql/impl/NameServiceOnTriples.h>

+ Inheritance diagram for yarp::serversql::impl::NameServiceOnTriples:

Public Member Functions

 NameServiceOnTriples ()
 
void open (TripleSource *db, Allocator *alloc, const yarp::os::Contact &serverContact)
 
void setSubscriber (Subscriber *subscriber)
 
void setSilent (bool flag)
 
yarp::os::Contact query (const std::string &portName, NameTripleState &act, const std::string &prefix, bool nested=false)
 
bool announce (const std::string &name, int activity) override
 
yarp::os::Contact query (const std::string &portName) override
 
bool cmdQuery (NameTripleState &act, bool nested=false)
 
bool cmdRegister (NameTripleState &act)
 
bool cmdUnregister (NameTripleState &act)
 
bool cmdList (NameTripleState &act)
 
bool cmdListRunners (NameTripleState &act)
 
bool cmdSet (NameTripleState &act)
 
bool cmdGet (NameTripleState &act)
 
bool cmdCheck (NameTripleState &act)
 
bool cmdRoute (NameTripleState &act)
 
bool cmdGc (NameTripleState &act)
 
bool cmdHelp (NameTripleState &act)
 
bool apply (yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote) override
 
void goPublic () override
 
void lock () override
 
void unlock () override
 
void setDelegate (yarp::os::NameSpace *delegate)
 
yarp::os::NameSpacegetDelegate ()
 
- Public Member Functions inherited from yarp::name::NameService
virtual ~NameService ()
 
virtual void onEvent (yarp::os::Bottle &event)
 
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

An implementation of name service operators on a triple store.

Definition at line 59 of file NameServiceOnTriples.h.

Constructor & Destructor Documentation

◆ NameServiceOnTriples()

yarp::serversql::impl::NameServiceOnTriples::NameServiceOnTriples ( )
inline

Definition at line 73 of file NameServiceOnTriples.h.

Member Function Documentation

◆ announce()

bool NameServiceOnTriples::announce ( const std::string &  name,
int  activity 
)
overridevirtual

Reimplemented from yarp::name::NameService.

Definition at line 342 of file NameServiceOnTriples.cpp.

◆ apply()

bool NameServiceOnTriples::apply ( yarp::os::Bottle cmd,
yarp::os::Bottle reply,
yarp::os::Bottle event,
const yarp::os::Contact remote 
)
overridevirtual

Implements yarp::name::NameService.

Definition at line 655 of file NameServiceOnTriples.cpp.

◆ cmdCheck()

bool NameServiceOnTriples::cmdCheck ( NameTripleState act)

Definition at line 565 of file NameServiceOnTriples.cpp.

◆ cmdGc()

bool NameServiceOnTriples::cmdGc ( NameTripleState act)

Definition at line 622 of file NameServiceOnTriples.cpp.

◆ cmdGet()

bool NameServiceOnTriples::cmdGet ( NameTripleState act)

Definition at line 522 of file NameServiceOnTriples.cpp.

◆ cmdHelp()

bool NameServiceOnTriples::cmdHelp ( NameTripleState act)

Definition at line 632 of file NameServiceOnTriples.cpp.

◆ cmdList()

bool NameServiceOnTriples::cmdList ( NameTripleState act)

Definition at line 444 of file NameServiceOnTriples.cpp.

◆ cmdListRunners()

bool NameServiceOnTriples::cmdListRunners ( NameTripleState act)

Definition at line 395 of file NameServiceOnTriples.cpp.

◆ cmdQuery()

bool NameServiceOnTriples::cmdQuery ( NameTripleState act,
bool  nested = false 
)

Definition at line 123 of file NameServiceOnTriples.cpp.

◆ cmdRegister()

bool NameServiceOnTriples::cmdRegister ( NameTripleState act)

Definition at line 199 of file NameServiceOnTriples.cpp.

◆ cmdRoute()

bool NameServiceOnTriples::cmdRoute ( NameTripleState act)

Definition at line 605 of file NameServiceOnTriples.cpp.

◆ cmdSet()

bool NameServiceOnTriples::cmdSet ( NameTripleState act)

Definition at line 486 of file NameServiceOnTriples.cpp.

◆ cmdUnregister()

bool NameServiceOnTriples::cmdUnregister ( NameTripleState act)

Definition at line 350 of file NameServiceOnTriples.cpp.

◆ getDelegate()

yarp::os::NameSpace* yarp::serversql::impl::NameServiceOnTriples::getDelegate ( )
inline

Definition at line 155 of file NameServiceOnTriples.h.

◆ goPublic()

void yarp::serversql::impl::NameServiceOnTriples::goPublic ( )
inlineoverridevirtual

Reimplemented from yarp::name::NameService.

Definition at line 141 of file NameServiceOnTriples.h.

◆ lock()

void NameServiceOnTriples::lock ( )
overridevirtual

Reimplemented from yarp::name::NameService.

Definition at line 744 of file NameServiceOnTriples.cpp.

◆ open()

void yarp::serversql::impl::NameServiceOnTriples::open ( TripleSource db,
Allocator alloc,
const yarp::os::Contact serverContact 
)
inline

Definition at line 86 of file NameServiceOnTriples.h.

◆ query() [1/2]

yarp::os::Contact NameServiceOnTriples::query ( const std::string &  portName)
overridevirtual

Reimplemented from yarp::name::NameService.

Definition at line 107 of file NameServiceOnTriples.cpp.

◆ query() [2/2]

Contact NameServiceOnTriples::query ( const std::string &  portName,
NameTripleState act,
const std::string &  prefix,
bool  nested = false 
)

Definition at line 30 of file NameServiceOnTriples.cpp.

◆ setDelegate()

void yarp::serversql::impl::NameServiceOnTriples::setDelegate ( yarp::os::NameSpace delegate)
inline

Definition at line 150 of file NameServiceOnTriples.h.

◆ setSilent()

void yarp::serversql::impl::NameServiceOnTriples::setSilent ( bool  flag)
inline

Definition at line 100 of file NameServiceOnTriples.h.

◆ setSubscriber()

void yarp::serversql::impl::NameServiceOnTriples::setSubscriber ( Subscriber subscriber)
inline

Definition at line 95 of file NameServiceOnTriples.h.

◆ unlock()

void NameServiceOnTriples::unlock ( )
overridevirtual

Reimplemented from yarp::name::NameService.

Definition at line 750 of file NameServiceOnTriples.cpp.


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