|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_SERVERSQL_IMPL_SUBSCRIBER_H
11 #define YARP_SERVERSQL_IMPL_SUBSCRIBER_H
55 const std::string& dest)
61 const std::string& dest,
68 const std::string& dest,
69 const std::string& mode) = 0;
72 const std::string& dest) = 0;
77 virtual bool welcome(
const std::string& port,
int activity) = 0;
80 const std::string& structure,
bool active) = 0;
84 virtual bool setType(
const std::string& family,
85 const std::string& structure,
86 const std::string& value) = 0;
88 virtual std::string
getType(
const std::string& family,
89 const std::string& structure) = 0;
108 this->delegate = delegate;
127 #endif // YARP_SERVERSQL_IMPL_SUBSCRIBER_H
A simple collection of objects that can be described and transmitted in a portable way.
virtual bool welcome(const std::string &port, int activity)=0
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
Abstract interface for a database of port names.
virtual bool setType(const std::string &family, const std::string &structure, const std::string &value)=0
virtual std::string getType(const std::string &family, const std::string &structure)=0
yarp::os::NameStore * getStore()
void setStore(yarp::os::NameStore &store)
void disconnect(const std::string &src, const std::string &dest, bool srcDrop)
virtual bool setTopic(const std::string &port, const std::string &structure, bool active)=0
void disconnect(const std::string &src, const std::string &dest, bool srcDrop)
bool apply(yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote) override
void onEvent(yarp::os::Bottle &event) override
virtual bool removeSubscription(const std::string &src, const std::string &dest)=0
virtual bool addSubscription(const std::string &src, const std::string &dest, const std::string &mode)=0
void setDelegate(yarp::os::NameSpace *delegate)
An abstract name space for ports.
yarp::os::NameSpace * getDelegate()
void connect(const std::string &src, const std::string &dest)
Abstract interface for a name server operator.
The main, catch-all namespace for YARP.
virtual bool listSubscriptions(const std::string &src, yarp::os::Bottle &reply)=0
void connect(const std::string &src, const std::string &dest, bool positive=true)
virtual bool listTopics(yarp::os::Bottle &topics)=0
Abstract interface for maintaining persistent connections.