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