Abstract interface for maintaining persistent connections.
More...
#include <yarp/serversql/impl/Subscriber.h>
|
| Subscriber () |
|
void | setStore (yarp::os::NameStore &store) |
|
yarp::os::NameStore * | getStore () |
|
void | clear () |
|
void | connect (const std::string &src, const std::string &dest) |
|
void | disconnect (const std::string &src, const std::string &dest, bool srcDrop) |
|
virtual bool | addSubscription (const std::string &src, const std::string &dest, const std::string &mode)=0 |
|
virtual bool | removeSubscription (const std::string &src, const std::string &dest)=0 |
|
virtual bool | listSubscriptions (const std::string &src, yarp::os::Bottle &reply)=0 |
|
virtual bool | welcome (const std::string &port, int activity)=0 |
|
virtual bool | setTopic (const std::string &port, const std::string &structure, bool active)=0 |
|
virtual bool | listTopics (yarp::os::Bottle &topics)=0 |
|
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 |
|
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 |
|
int | replyCode (bool flag) |
|
void | setDelegate (yarp::os::NameSpace *delegate) |
|
yarp::os::NameSpace * | getDelegate () |
|
virtual | ~NameService () |
|
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 |
|
virtual | ~NameStore () |
|
Abstract interface for maintaining persistent connections.
Definition at line 29 of file Subscriber.h.
◆ Subscriber()
yarp::serversql::impl::Subscriber::Subscriber |
( |
| ) |
|
|
inline |
◆ addSubscription()
virtual bool yarp::serversql::impl::Subscriber::addSubscription |
( |
const std::string & |
src, |
|
|
const std::string & |
dest, |
|
|
const std::string & |
mode |
|
) |
| |
|
pure virtual |
◆ apply()
◆ clear()
void yarp::serversql::impl::Subscriber::clear |
( |
| ) |
|
|
inline |
◆ connect()
void yarp::serversql::impl::Subscriber::connect |
( |
const std::string & |
src, |
|
|
const std::string & |
dest |
|
) |
| |
|
inline |
◆ disconnect()
void yarp::serversql::impl::Subscriber::disconnect |
( |
const std::string & |
src, |
|
|
const std::string & |
dest, |
|
|
bool |
srcDrop |
|
) |
| |
|
inline |
◆ getDelegate()
◆ getStore()
◆ getType()
virtual std::string yarp::serversql::impl::Subscriber::getType |
( |
const std::string & |
family, |
|
|
const std::string & |
structure |
|
) |
| |
|
pure virtual |
◆ listSubscriptions()
virtual bool yarp::serversql::impl::Subscriber::listSubscriptions |
( |
const std::string & |
src, |
|
|
yarp::os::Bottle & |
reply |
|
) |
| |
|
pure virtual |
◆ listTopics()
virtual bool yarp::serversql::impl::Subscriber::listTopics |
( |
yarp::os::Bottle & |
topics | ) |
|
|
pure virtual |
◆ onEvent()
◆ removeSubscription()
virtual bool yarp::serversql::impl::Subscriber::removeSubscription |
( |
const std::string & |
src, |
|
|
const std::string & |
dest |
|
) |
| |
|
pure virtual |
◆ replyCode()
int yarp::serversql::impl::Subscriber::replyCode |
( |
bool |
flag | ) |
|
|
inline |
◆ setDelegate()
◆ setStore()
◆ setTopic()
virtual bool yarp::serversql::impl::Subscriber::setTopic |
( |
const std::string & |
port, |
|
|
const std::string & |
structure, |
|
|
bool |
active |
|
) |
| |
|
pure virtual |
◆ setType()
virtual bool yarp::serversql::impl::Subscriber::setType |
( |
const std::string & |
family, |
|
|
const std::string & |
structure, |
|
|
const std::string & |
value |
|
) |
| |
|
pure virtual |
◆ welcome()
virtual bool yarp::serversql::impl::Subscriber::welcome |
( |
const std::string & |
port, |
|
|
int |
activity |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following files: