|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
30 if (tag ==
"subscribe" ||
31 tag ==
"unsubscribe" ||
38 if (tag ==
"subscribe") {
54 if (tag ==
"unsubscribe") {
62 if (tag ==
"announce") {
73 if (cmd.
size() >= 2) {
87 if (cmd.
size() == 4) {
95 if (cmd.
size() == 3) {
100 if (result.empty()) {
114 if (tag ==
"untopic") {
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
std::string toString() const override
Gives a human-readable textual representation of the bottle.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
void clear()
Empties the bottle of any objects it contains.
#define YARP_SERVERSQL_LOG_COMPONENT(name, name_string)
size_type size() const
Gets the number of elements in the bottle.
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
virtual bool setTopic(const std::string &port, const std::string &structure, bool active)=0
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
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
virtual std::string asString() const
Get string value.
void addString(const char *str)
Places a string in the bottle, at the end of the list.
void addVocab(int x)
Places a vocabulary item in the bottle, at the end of the list.
virtual std::int32_t asInt32() const
Get 32-bit integer value.
#define yCInfo(component,...)
virtual bool listSubscriptions(const std::string &src, yarp::os::Bottle &reply)=0
virtual bool listTopics(yarp::os::Bottle &topics)=0
virtual bool isInt32() const
Checks if value is a 32-bit integer.
Abstract interface for maintaining persistent connections.