Add some options for J1939 support
[src/low-level-can-generator.git] / src / openxc / signal.hpp
index e0124c3..750926b 100755 (executable)
@@ -21,11 +21,16 @@ namespace openxc
                bool                                                                                            ignore_;\r
                bool                                                                                            enabled_;\r
                std::map<std::string, std::vector<std::uint32_t>>       states_;\r
-               float                                                                           max_frequency_;\r
+               float                                                                                           max_frequency_;\r
                bool                                                                                            send_same_;\r
                bool                                                                                            force_send_changed_;\r
                bool                                                                                            writable_;\r
                std::string                                                                                     encoder_;\r
+               std::pair<bool,int>                                                                     multiplex_;\r
+               bool                                                                                            is_big_endian_;\r
+               bool                                                                                            is_signed_;\r
+               std::string                                                                                     unit_;\r
+\r
        public:\r
                std::string id() const;\r
                void id(const std::string& id);\r
@@ -43,7 +48,11 @@ namespace openxc
                bool force_send_changed() const;\r
                bool writable() const;\r
                std::string encoder() const;\r
-               \r
+               std::pair<bool,int> multiplex() const;\r
+               bool is_big_endian() const;\r
+               bool is_signed() const;\r
+               std::string unit() const;\r
+\r
                void from_json(const nlohmann::json& j);\r
                nlohmann::json to_json() const;\r
        };\r