![]() |
RMVL
2.4.0-dev
Robotic Manipulation and Vision Library
|
#include <rmvlpara/io.hpp>
Public 成员函数 | |
| IoParam ()=default | |
| 创建 IoParam 参数对象 | |
| bool | read (const std::string &path) |
| 从指定 YAML 文件中加载,并读取至 IoParam 中 | |
| bool | write (const std::string &path) const |
| 将 IoParam 的数据写入指定的 YAML 文件中 | |
Public 属性 | |
| int | MQ_MAX_MSG = 10 |
| 队列最大消息数 | |
| int | MQ_MSG_SIZE = 4096 |
| 每条消息最大字节数,不超过 4096 | |
IoParam 参数模块
|
default |
创建 IoParam 参数对象
| bool rm::para::IoParam::read | ( | const std::string & | path | ) |
| bool rm::para::IoParam::write | ( | const std::string & | path | ) | const |
| int rm::para::IoParam::MQ_MAX_MSG = 10 |
队列最大消息数
默认值:10
| int rm::para::IoParam::MQ_MSG_SIZE = 4096 |
每条消息最大字节数,不超过 4096
默认值:4096