X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fopenxc%2Fmessage_set.hpp;fp=src%2Fopenxc%2Fmessage_set.hpp;h=fa919ae81914dc25fe20993f060de1c4c54b11d7;hb=d9c40fd96e31ce41166e2b846301335ed6fe5d37;hp=935817eee21f47714fd4d52abfbe6c7b387f3030;hpb=7869e2e2ca1feb6a85919eab7c1da9c698d6d680;p=src%2Flow-level-can-generator.git diff --git a/src/openxc/message_set.hpp b/src/openxc/message_set.hpp index 935817e..fa919ae 100755 --- a/src/openxc/message_set.hpp +++ b/src/openxc/message_set.hpp @@ -17,6 +17,7 @@ namespace openxc { private: std::string name_; + std::string version_; bool bit_numbering_inverted_; float max_message_frequency_; can_bus_mode raw_can_mode_; @@ -35,8 +36,9 @@ namespace openxc message_set(); message_set(const message_set&) = default; message_set(message_set&&) = default; - + std::string name() const; + std::string version() const; bool bit_numbering_inverted() const; float max_message_frequency() const; can_bus_mode raw_can_mode() const; @@ -49,7 +51,7 @@ namespace openxc const std::vector& mappings() const; const std::vector& extra_sources() const; const std::vector& commands() const; - + void from_json(const nlohmann::json& j); nlohmann::json to_json() const; };