7 #include "signal.hpp"
\r
16 bool bit_numbering_inverted_;
\r
17 std::vector<signal> signals_;
\r
19 std::vector<std::string> handlers_;
\r
21 float max_frequency_;
\r
22 float max_signal_frequency_;
\r
23 bool force_send_changed_;
\r
24 bool force_send_changed_signals_;
\r
33 std::string id() const;
\r
34 void id(const std::string& id);
\r
35 void is_fd(const bool is_fd);
\r
37 void is_extended(const bool is_extended);
\r
38 bool is_extended() const;
\r
39 void is_j1939(const bool is_j1939);
\r
40 bool is_j1939() const;
\r
41 std::string bus() const;
\r
42 bool bit_numbering_inverted() const;
\r
43 const std::vector<signal>& signals() const;
\r
44 std::string name() const;
\r
45 std::vector<std::string> handlers() const;
\r
46 bool enabled() const;
\r
47 float max_frequency() const;
\r
48 float max_signal_frequency() const;
\r
49 bool force_send_changed() const;
\r
50 bool force_send_changed_signals() const;
\r
51 uint32_t length() const;
\r
53 void from_json(const nlohmann::json& j);
\r
54 nlohmann::json to_json() const;
\r
56 std::uint32_t get_signals_count() const;
\r
59 void to_json(nlohmann::json& j, const can_message& p);
\r
60 void from_json(const nlohmann::json& j, can_message& p);
\r
61 void from_json(const nlohmann::json& j, can_message& p, const std::string& id);
\r