21 using namespace yarp::os;
35 lock_guard<mutex> lck(mtx);
43 lock_guard<mutex> lck(mtx);
46 if ((index>=0) && (index<bottle.size()))
47 ret=Value(bottle.get(index).asFloat64());
yarp::os::Value getValue(const int index)
void onRead(yarp::os::Bottle &bottle)