X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fopenxc%2Fsignal.hpp;h=750926b9f643e37f76222092d2ccb7e52631978e;hb=f61a6cb23ab86da2b3d477276886f1e73ec5c88c;hp=e0124c352a4e16033827e22999a922ea034a4741;hpb=0bb5744297d7d25577b5ed48899c021e23e9a8ec;p=src%2Flow-level-can-generator.git diff --git a/src/openxc/signal.hpp b/src/openxc/signal.hpp index e0124c3..750926b 100755 --- a/src/openxc/signal.hpp +++ b/src/openxc/signal.hpp @@ -21,11 +21,16 @@ namespace openxc bool ignore_; bool enabled_; std::map> states_; - float max_frequency_; + float max_frequency_; bool send_same_; bool force_send_changed_; bool writable_; std::string encoder_; + std::pair multiplex_; + bool is_big_endian_; + bool is_signed_; + std::string unit_; + public: std::string id() const; void id(const std::string& id); @@ -43,7 +48,11 @@ namespace openxc bool force_send_changed() const; bool writable() const; std::string encoder() const; - + std::pair multiplex() const; + bool is_big_endian() const; + bool is_signed() const; + std::string unit() const; + void from_json(const nlohmann::json& j); nlohmann::json to_json() const; };