|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_SERVERSQL_IMPL_SUBSCRIBERONSQL_H
11 #define YARP_SERVERSQL_IMPL_SUBSCRIBERONSQL_H
30 implementation =
nullptr;
35 if (implementation !=
nullptr) {
40 bool open(
const std::string& filename,
bool fresh =
false);
45 const std::string& dest,
46 const std::string& mode)
override;
49 const std::string& dest)
override;
54 bool welcome(
const std::string& port,
int activity)
override;
56 bool hookup(
const std::string& port);
60 bool setTopic(
const std::string& port,
61 const std::string& structure,
bool active)
override;
66 const std::string& src,
67 const std::string& dest,
68 const std::string& srcFull,
69 const std::string& destFull);
72 const std::string& dest,
73 const std::string& srcFull,
74 const std::string& destFull,
75 const std::string& mode);
78 const std::string& src,
79 const std::string& dest,
80 const std::string& srcFull,
81 const std::string& destFull,
82 const std::string& mode);
84 bool setType(
const std::string& family,
85 const std::string& structure,
86 const std::string& value)
override;
88 std::string
getType(
const std::string& family,
89 const std::string& structure)
override;
92 void *implementation {
nullptr};
101 #endif // YARP_SERVERSQL_IMPL_SUBSCRIBERONSQL_H
A simple collection of objects that can be described and transmitted in a portable way.
std::string getType(const std::string &family, const std::string &structure) override
bool breakdown(const std::string &port)
Interface for maintaining persistent connections using SQL.
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 transitiveWelcome(const std::string &topic, const std::string &src, const std::string &dest, const std::string &srcFull, const std::string &destFull)
bool listTopics(yarp::os::Bottle &topics) override
bool open(const std::string &filename, bool fresh=false)
bool setType(const std::string &family, const std::string &structure, const std::string &value) override
bool listSubscriptions(const std::string &port, yarp::os::Bottle &reply) override
bool welcome(const std::string &port, int activity) override
bool checkSubscription(const std::string &src, const std::string &dest, const std::string &srcFull, const std::string &destFull, const std::string &mode)
bool setTopic(const std::string &port, const std::string &structure, bool active) override
The main, catch-all namespace for YARP.
bool hookup(const std::string &port)
bool removeSubscription(const std::string &src, const std::string &dest) override
bool addSubscription(const std::string &src, const std::string &dest, const std::string &mode) override
~SubscriberOnSql() override
Abstract interface for maintaining persistent connections.