|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_SERVERSQL_IMPL_NAMESERVICEONTRIPLES_H
11 #define YARP_SERVERSQL_IMPL_NAMESERVICEONTRIPLES_H
65 std::string lastRegister;
92 this->serverContact = serverContact;
97 this->subscriber = subscriber;
107 const std::string& prefix,
108 bool nested =
false);
110 bool announce(
const std::string& name,
int activity)
override;
146 void lock()
override;
152 this->delegate = delegate;
166 #endif // YARP_SERVERSQL_IMPL_NAMESERVICEONTRIPLES_H
bool cmdListRunners(NameTripleState &act)
A simple collection of objects that can be described and transmitted in a portable way.
void open(TripleSource *db, Allocator *alloc, const yarp::os::Contact &serverContact)
bool announce(const std::string &name, int activity) override
A class for thread synchronization and mutual exclusion.
bool cmdQuery(NameTripleState &act, bool nested=false)
Abstract interface for allocating network resources.
const yarp::os::Contact & remote
NameTripleState(yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote, TripleSource &mem)
Abstract view of a database as a collection of triples.
bool cmdRegister(NameTripleState &act)
bool cmdHelp(NameTripleState &act)
bool cmdGet(NameTripleState &act)
bool cmdList(NameTripleState &act)
bool cmdSet(NameTripleState &act)
State information for a single name server operation on a database.
void setSilent(bool flag)
bool cmdRoute(NameTripleState &act)
bool apply(yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote) override
An abstract name space for ports.
bool cmdGc(NameTripleState &act)
bool cmdCheck(NameTripleState &act)
void setDelegate(yarp::os::NameSpace *delegate)
void setSubscriber(Subscriber *subscriber)
Abstract interface for a name server operator.
yarp::os::NameSpace * getDelegate()
The main, catch-all namespace for YARP.
bool cmdUnregister(NameTripleState &act)
An implementation of name service operators on a triple store.
yarp::os::Contact query(const std::string &portName, NameTripleState &act, const std::string &prefix, bool nested=false)
Abstract interface for maintaining persistent connections.