本文整理汇总了C++中yarp::os::idl::WireReader::readNested方法的典型用法代码示例。如果您正苦于以下问题:C++ WireReader::readNested方法的具体用法?C++ WireReader::readNested怎么用?C++ WireReader::readNested使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类yarp::os::idl::WireReader
的用法示例。
在下文中一共展示了WireReader::readNested方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: nested_read_OrientationSensors
bool SensorRPCData::nested_read_OrientationSensors(yarp::os::idl::WireReader& reader) {
{
OrientationSensors.clear();
uint32_t _size47;
yarp::os::idl::WireState _etype50;
reader.readListBegin(_etype50, _size47);
OrientationSensors.resize(_size47);
uint32_t _i51;
for (_i51 = 0; _i51 < _size47; ++_i51)
{
if (!reader.readNested(OrientationSensors[_i51])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例2: read_TemperatureSensors
bool SensorRPCData::read_TemperatureSensors(yarp::os::idl::WireReader& reader) {
{
TemperatureSensors.clear();
uint32_t _size52;
yarp::os::idl::WireState _etype55;
reader.readListBegin(_etype55, _size52);
TemperatureSensors.resize(_size52);
uint32_t _i56;
for (_i56 = 0; _i56 < _size52; ++_i56)
{
if (!reader.readNested(TemperatureSensors[_i56])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例3: read_OrientationSensors
bool SensorRPCData::read_OrientationSensors(yarp::os::idl::WireReader& reader) {
{
OrientationSensors.clear();
uint32_t _size42;
yarp::os::idl::WireState _etype45;
reader.readListBegin(_etype45, _size42);
OrientationSensors.resize(_size42);
uint32_t _i46;
for (_i46 = 0; _i46 < _size42; ++_i46)
{
if (!reader.readNested(OrientationSensors[_i46])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例4: read_ThreeAxisGyroscopes
bool SensorRPCData::read_ThreeAxisGyroscopes(yarp::os::idl::WireReader& reader) {
{
ThreeAxisGyroscopes.clear();
uint32_t _size12;
yarp::os::idl::WireState _etype15;
reader.readListBegin(_etype15, _size12);
ThreeAxisGyroscopes.resize(_size12);
uint32_t _i16;
for (_i16 = 0; _i16 < _size12; ++_i16)
{
if (!reader.readNested(ThreeAxisGyroscopes[_i16])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例5: nested_read_measurements
bool SensorMeasurements::nested_read_measurements(yarp::os::idl::WireReader& reader) {
{
measurements.clear();
uint32_t _size5;
yarp::os::idl::WireState _etype8;
reader.readListBegin(_etype8, _size5);
measurements.resize(_size5);
uint32_t _i9;
for (_i9 = 0; _i9 < _size5; ++_i9)
{
if (!reader.readNested(measurements[_i9])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例6: nested_read_ThreeAxisMagnetometers
bool SensorRPCData::nested_read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader) {
{
ThreeAxisMagnetometers.clear();
uint32_t _size37;
yarp::os::idl::WireState _etype40;
reader.readListBegin(_etype40, _size37);
ThreeAxisMagnetometers.resize(_size37);
uint32_t _i41;
for (_i41 = 0; _i41 < _size37; ++_i41)
{
if (!reader.readNested(ThreeAxisMagnetometers[_i41])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例7: read_measurements
bool SensorMeasurements::read_measurements(yarp::os::idl::WireReader& reader) {
{
measurements.clear();
uint32_t _size0;
yarp::os::idl::WireState _etype3;
reader.readListBegin(_etype3, _size0);
measurements.resize(_size0);
uint32_t _i4;
for (_i4 = 0; _i4 < _size0; ++_i4)
{
if (!reader.readNested(measurements[_i4])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例8: nested_read_secondList
bool PointDLists::nested_read_secondList(yarp::os::idl::WireReader& reader) {
{
secondList.clear();
uint32_t _size15;
yarp::os::idl::WireState _etype18;
reader.readListBegin(_etype18, _size15);
secondList.resize(_size15);
uint32_t _i19;
for (_i19 = 0; _i19 < _size15; ++_i19)
{
if (!reader.readNested(secondList[_i19])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例9: read_secondList
bool PointDLists::read_secondList(yarp::os::idl::WireReader& reader) {
{
secondList.clear();
uint32_t _size10;
yarp::os::idl::WireState _etype13;
reader.readListBegin(_etype13, _size10);
secondList.resize(_size10);
uint32_t _i14;
for (_i14 = 0; _i14 < _size10; ++_i14)
{
if (!reader.readNested(secondList[_i14])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例10: nested_read_firstList
bool PointDLists::nested_read_firstList(yarp::os::idl::WireReader& reader) {
{
firstList.clear();
uint32_t _size5;
yarp::os::idl::WireState _etype8;
reader.readListBegin(_etype8, _size5);
firstList.resize(_size5);
uint32_t _i9;
for (_i9 = 0; _i9 < _size5; ++_i9)
{
if (!reader.readNested(firstList[_i9])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}
示例11: read_firstList
bool PointDLists::read_firstList(yarp::os::idl::WireReader& reader) {
{
firstList.clear();
uint32_t _size0;
yarp::os::idl::WireState _etype3;
reader.readListBegin(_etype3, _size0);
firstList.resize(_size0);
uint32_t _i4;
for (_i4 = 0; _i4 < _size0; ++_i4)
{
if (!reader.readNested(firstList[_i4])) {
reader.fail();
return false;
}
}
reader.readListEnd();
}
return true;
}