Interface for maintaining persistent connections using SQL. More...
#include <yarp/serversql/impl/SubscriberOnSql.h>
Inheritance diagram for yarp::serversql::impl::SubscriberOnSql:Interface for maintaining persistent connections using SQL.
Definition at line 25 of file SubscriberOnSql.h.
Public Member Functions | |
| SubscriberOnSql () | |
| ~SubscriberOnSql () override | |
| bool | open (const std::string &filename, bool fresh=false) |
| bool | close () |
| bool | addSubscription (const std::string &src, const std::string &dest, const std::string &mode) override |
| bool | removeSubscription (const std::string &src, const std::string &dest) override |
| bool | listSubscriptions (const std::string &port, yarp::os::Bottle &reply) override |
| bool | welcome (const std::string &port, int activity) override |
| bool | hookup (const std::string &port) |
| bool | breakdown (const std::string &port) |
| bool | setTopic (const std::string &port, const std::string &structure, bool active) override |
| bool | listTopics (yarp::os::Bottle &topics) override |
| bool | transitiveWelcome (const std::string &topic, const std::string &src, const std::string &dest, const std::string &srcFull, const std::string &destFull) |
| bool | checkSubscription (const std::string &src, const std::string &dest, const std::string &srcFull, const std::string &destFull, const std::string &mode) |
| bool | breakSubscription (const std::string &dropper, const std::string &src, const std::string &dest, const std::string &srcFull, const std::string &destFull, const std::string &mode) |
| bool | setType (const std::string &family, const std::string &structure, const std::string &value) override |
| std::string | getType (const std::string &family, const std::string &structure) override |
Public Member Functions inherited from yarp::serversql::impl::Subscriber | |
| 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) |
| 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 () |
Public Member Functions inherited from yarp::name::NameService | |
| 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 |
Public Member Functions inherited from yarp::os::NameStore | |
| virtual | ~NameStore () |
|
inline |
Definition at line 28 of file SubscriberOnSql.h.
|
inlineoverride |
Definition at line 33 of file SubscriberOnSql.h.
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 183 of file SubscriberOnSql.cpp.
| bool SubscriberOnSql::breakdown | ( | const std::string & | port | ) |
Definition at line 357 of file SubscriberOnSql.cpp.
| bool SubscriberOnSql::breakSubscription | ( | const std::string & | dropper, |
| const std::string & | src, | ||
| const std::string & | dest, | ||
| const std::string & | srcFull, | ||
| const std::string & | destFull, | ||
| const std::string & | mode | ||
| ) |
Definition at line 446 of file SubscriberOnSql.cpp.
| bool SubscriberOnSql::checkSubscription | ( | const std::string & | src, |
| const std::string & | dest, | ||
| const std::string & | srcFull, | ||
| const std::string & | destFull, | ||
| const std::string & | mode | ||
| ) |
Definition at line 394 of file SubscriberOnSql.cpp.
| bool SubscriberOnSql::close | ( | ) |
Definition at line 174 of file SubscriberOnSql.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 714 of file SubscriberOnSql.cpp.
| bool SubscriberOnSql::hookup | ( | const std::string & | port | ) |
Definition at line 319 of file SubscriberOnSql.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 500 of file SubscriberOnSql.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 666 of file SubscriberOnSql.cpp.
| bool SubscriberOnSql::open | ( | const std::string & | filename, |
| bool | fresh = false |
||
| ) |
Definition at line 45 of file SubscriberOnSql.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 237 of file SubscriberOnSql.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 560 of file SubscriberOnSql.cpp.
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 689 of file SubscriberOnSql.cpp.
| bool yarp::serversql::impl::SubscriberOnSql::transitiveWelcome | ( | const std::string & | topic, |
| const std::string & | src, | ||
| const std::string & | dest, | ||
| const std::string & | srcFull, | ||
| const std::string & | destFull | ||
| ) |
|
overridevirtual |
Implements yarp::serversql::impl::Subscriber.
Definition at line 259 of file SubscriberOnSql.cpp.