55 const std::string m_device_classname = {
"CanBusSocket"};
56 const std::string m_device_name = {
"CanBusSocket"};
57 bool m_parser_is_strict =
false;
65 const std::string m_port_defaultValue = {
"can0"};
66 const std::string m_bitrate_defaultValue = {
"0"};
67 const std::string m_blockingMode_defaultValue = {
"true"};
68 const std::string m_allowPermissive_defaultValue = {
"false"};
69 const std::string m_rxTimeoutMs_defaultValue = {
"1"};
70 const std::string m_txTimeoutMs_defaultValue = {
"0"};
71 const std::string m_filterFunctionCodes_defaultValue = {
"true"};
72 const std::string m_filteredIds_defaultValue = {
""};
74 std::string m_port = {
"can0"};
76 bool m_blockingMode = {
true};
77 bool m_allowPermissive = {
false};
78 int m_rxTimeoutMs = {1};
79 int m_txTimeoutMs = {0};
80 bool m_filterFunctionCodes = {
true};
81 std::vector<int> m_filteredIds = {};
83 bool parseParams(
const yarp::os::Searchable & config)
override;
84 std::string getDeviceClassName()
const override {
return m_device_classname; }
85 std::string getDeviceName()
const override {
return m_device_name; }
86 std::string getDocumentationOfDeviceParams()
const override;
87 std::vector<std::string> getListOfParams()
const override;