本文整理汇总了C++中yarp::os::idl::WireWriter::writeBool方法的典型用法代码示例。如果您正苦于以下问题:C++ WireWriter::writeBool方法的具体用法?C++ WireWriter::writeBool怎么用?C++ WireWriter::writeBool使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类yarp::os::idl::WireWriter
的用法示例。
在下文中一共展示了WireWriter::writeBool方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: write_controlMode_isValid
bool jointData::write_controlMode_isValid(const yarp::os::idl::WireWriter& writer) const {
if (!writer.writeBool(controlMode_isValid)) return false;
return true;
}
示例2: nested_write_interactionMode_isValid
bool jointData::nested_write_interactionMode_isValid(const yarp::os::idl::WireWriter& writer) const {
if (!writer.writeBool(interactionMode_isValid)) return false;
return true;
}
示例3: nested_write_current_isValid
bool jointData::nested_write_current_isValid(const yarp::os::idl::WireWriter& writer) const {
if (!writer.writeBool(current_isValid)) return false;
return true;
}
示例4: nested_write_pwmDutycycle_isValid
bool jointData::nested_write_pwmDutycycle_isValid(const yarp::os::idl::WireWriter& writer) const {
if (!writer.writeBool(pwmDutycycle_isValid)) return false;
return true;
}
示例5: nested_write_motorAcceleration_isValid
bool jointData::nested_write_motorAcceleration_isValid(const yarp::os::idl::WireWriter& writer) const {
if (!writer.writeBool(motorAcceleration_isValid)) return false;
return true;
}
示例6: write_motorVelocity_isValid
bool jointData::write_motorVelocity_isValid(const yarp::os::idl::WireWriter& writer) const {
if (!writer.writeBool(motorVelocity_isValid)) return false;
return true;
}
示例7: write_jointPosition_isValid
bool jointData::write_jointPosition_isValid(const yarp::os::idl::WireWriter& writer) const {
if (!writer.writeBool(jointPosition_isValid)) return false;
return true;
}