cmake: fix lib not populated and RPATH usage
[apps/agl-service-can-low-level.git] / low-can-binding / can / message-definition.hpp
index cce42e1..ab6b4be 100644 (file)
@@ -46,6 +46,8 @@ private:
        std::string name_; ///< name_ - J1939 PGN name
        uint32_t length_; ///< length_ - Message data length in bytes. For J1939 message, this is the expected data size
        uint32_t flags_; ///< format_ - the format of the message's ID.*/
+       bool frame_layout_is_little_; ///<frame_layout_is_little_ Defines if the can frame layout is little endian or big endian.
+                                                                 /// Default is true;
        frequency_clock_t frequency_clock_; ///<  clock_ - an optional frequency clock to control the output of this
                                                        ///      message, if sent raw, or simply to mark the max frequency for custom
                                                        ///      handlers to retrieve.*/
@@ -64,6 +66,7 @@ public:
        message_definition_t(const std::string bus,
                                 uint32_t id,
                                 uint32_t flags,
+                                bool frame_layout_is_little,
                                 frequency_clock_t frequency_clock,
                                 bool force_send_changed,
                                 const vect_ptr_signal_t& signals);
@@ -72,6 +75,7 @@ public:
                                 std::string name,
                                 uint32_t length,
                                 uint32_t flags,
+                                bool frame_layout_is_little,
                                 frequency_clock_t frequency_clock,
                                 bool force_send_changed,
                                 const vect_ptr_signal_t& signals);
@@ -79,6 +83,7 @@ public:
 
        const std::string get_bus_name() const;
        const std::string get_bus_device_name() const;
+       const std::string get_name() const;
        uint32_t get_id() const;
        bool is_fd() const;
        bool is_j1939() const;
@@ -86,6 +91,7 @@ public:
        vect_ptr_signal_t& get_signals();
        uint32_t get_length() const;
        uint32_t get_flags() const;
+       bool frame_layout_is_little() const;
 
        void set_parent(std::shared_ptr<message_set_t> parent);
        void set_last_value(std::shared_ptr<message_t>  m);