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