bool Color::read_r(yarp::os::idl::WireReader& reader) { if (!reader.readI16(r)) { reader.fail(); return false; } return true; }