本文整理汇总了C++中yarp::os::idl::WireReader类的典型用法代码示例。如果您正苦于以下问题:C++ WireReader类的具体用法?C++ WireReader怎么用?C++ WireReader使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了WireReader类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: read_controlMode_isValid
bool jointData::read_controlMode_isValid(yarp::os::idl::WireReader& reader) {
if (!reader.readBool(controlMode_isValid)) {
reader.fail();
return false;
}
return true;
}
示例2: read_jointVelFilterCutoffInHz
bool wholeBodyDynamicsSettings::read_jointVelFilterCutoffInHz(yarp::os::idl::WireReader& reader) {
if (!reader.readDouble(jointVelFilterCutoffInHz)) {
reader.fail();
return false;
}
return true;
}
示例3: read_yx
bool HomTransform::read_yx(yarp::os::idl::WireReader& reader) {
if (!reader.readFloat64(yx)) {
reader.fail();
return false;
}
return true;
}
示例4: nested_read_useJointAcceleration
bool wholeBodyDynamicsSettings::nested_read_useJointAcceleration(yarp::os::idl::WireReader& reader) {
if (!reader.readBool(useJointAcceleration)) {
reader.fail();
return false;
}
return true;
}
示例5: nested_read_imuFrameName
bool wholeBodyDynamicsSettings::nested_read_imuFrameName(yarp::os::idl::WireReader& reader) {
if (!reader.readString(imuFrameName)) {
reader.fail();
return false;
}
return true;
}
示例6: nested_read_TemperatureSensors
bool SensorStreamingData::nested_read_TemperatureSensors(yarp::os::idl::WireReader& reader) {
if (!reader.readNested(TemperatureSensors)) {
reader.fail();
return false;
}
return true;
}
示例7: read_ContactLoadCellArrays
bool SensorStreamingData::read_ContactLoadCellArrays(yarp::os::idl::WireReader& reader) {
if (!reader.read(ContactLoadCellArrays)) {
reader.fail();
return false;
}
return true;
}
示例8: nested_read_jointAcceleration_isValid
bool jointData::nested_read_jointAcceleration_isValid(yarp::os::idl::WireReader& reader) {
if (!reader.readBool(jointAcceleration_isValid)) {
reader.fail();
return false;
}
return true;
}
示例9: read_motorPosition
bool jointData::read_motorPosition(yarp::os::idl::WireReader& reader) {
if (!reader.read(motorPosition)) {
reader.fail();
return false;
}
return true;
}
示例10: read_jointVelocity_isValid
bool jointData::read_jointVelocity_isValid(yarp::os::idl::WireReader& reader) {
if (!reader.readBool(jointVelocity_isValid)) {
reader.fail();
return false;
}
return true;
}
示例11: read_jointAcceleration
bool jointData::read_jointAcceleration(yarp::os::idl::WireReader& reader) {
if (!reader.read(jointAcceleration)) {
reader.fail();
return false;
}
return true;
}
示例12: nested_read_jointVelocity
bool jointData::nested_read_jointVelocity(yarp::os::idl::WireReader& reader) {
if (!reader.readNested(jointVelocity)) {
reader.fail();
return false;
}
return true;
}
示例13: nested_read_interactionMode_isValid
bool jointData::nested_read_interactionMode_isValid(yarp::os::idl::WireReader& reader) {
if (!reader.readBool(interactionMode_isValid)) {
reader.fail();
return false;
}
return true;
}
示例14: read_interactionMode
bool jointData::read_interactionMode(yarp::os::idl::WireReader& reader) {
if (!reader.read(interactionMode)) {
reader.fail();
return false;
}
return true;
}
示例15: nested_read_ThreeAxisMagnetometers
bool SensorStreamingData::nested_read_ThreeAxisMagnetometers(yarp::os::idl::WireReader& reader) {
if (!reader.readNested(ThreeAxisMagnetometers)) {
reader.fail();
return false;
}
return true;
}