|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
40 size_t bottle_size = val.
size();
42 if (bottle_size != device_size) {
48 for (
size_t i = 0; i < device_size; i++) {
73 size_t subIndex =
device.
lut[0].deviceEntry;
A simple collection of objects that can be described and transmitted in a portable way.
yarp::dev::IRemoteVariables * iVar
size_type size() const
Gets the number of elements in the bottle.
virtual bool getRemoteVariablesList(yarp::os::Bottle *listOfKeys)=0
virtual bool setRemoteVariable(std::string key, const yarp::os::Bottle &val)=0
bool getRemoteVariable(std::string key, yarp::os::Bottle &val) override
bool setRemoteVariable(std::string key, const yarp::os::Bottle &val) override
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
const yarp::os::LogComponent & CONTROLBOARDWRAPPER()
SubDevice * getSubdevice(size_t i)
SubDeviceVector subdevices
bool getRemoteVariablesList(yarp::os::Bottle *listOfKeys) override
#define yCError(component,...)
std::vector< DevicesLutEntry > lut
virtual bool getRemoteVariable(std::string key, yarp::os::Bottle &val)=0
virtual Bottle * asList() const
Get list value.
void append(const Bottle &alt)
Append the content of the given bottle to the current list.