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
34 std::string id() const;
\r
35 void id(const std::string& id);
\r
36 void is_fd(const bool is_fd);
\r
38 void is_extended(const bool is_extended);
\r
39 bool is_extended() const;
\r
40 void is_j1939(const bool is_j1939);
\r
41 bool is_j1939() const;
\r
42 void is_isotp(const bool is_isotp);
\r
43 bool is_isotp() const;
\r
44 std::string bus() const;
\r
45 bool bit_numbering_inverted() const;
\r
46 const std::vector<signal>& signals() const;
\r
47 std::string name() const;
\r
48 std::vector<std::string> handlers() const;
\r
49 bool enabled() const;
\r
50 float max_frequency() const;
\r
51 float max_signal_frequency() const;
\r
52 bool force_send_changed() const;
\r
53 bool force_send_changed_signals() const;
\r
54 uint32_t length() const;
\r
56 void from_json(const nlohmann::json& j);
\r
57 nlohmann::json to_json() const;
\r
59 std::uint32_t get_signals_count() const;
\r
62 void to_json(nlohmann::json& j, const can_message& p);
\r
63 void from_json(const nlohmann::json& j, can_message& p);
\r
64 void from_json(const nlohmann::json& j, can_message& p, const std::string& id);
\r