summaryrefslogtreecommitdiffstats
path: root/low-can-binding/can/message-definition.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-26 16:19:46 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-11-28 16:11:47 +0100
commit3fb5cd5d762006c3bc20ffc7acd86f8a74156f9b (patch)
treea32efe1dcd74b45a91f55cf9c3568998b58217b9 /low-can-binding/can/message-definition.hpp
parenta16b570f1e8607f1c984cef4c281df9d5b7b129e (diff)
Add some typedef to reduce the size of the lines
Bug-AGL : SPEC-2779 Bug-AGL: SPEC-2976 Change-Id: Iebcf7492133cd7789d301593ff999b24ae10a054 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/can/message-definition.hpp')
-rw-r--r--low-can-binding/can/message-definition.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/low-can-binding/can/message-definition.hpp b/low-can-binding/can/message-definition.hpp
index f46d3adb..cce42e14 100644
--- a/low-can-binding/can/message-definition.hpp
+++ b/low-can-binding/can/message-definition.hpp
@@ -54,7 +54,7 @@ private:
std::vector<uint8_t> last_value_; ///< last_value_ - The last received value of the message. Defaults to undefined.
/// This is required for the forceSendChanged functionality, as the stack
/// needs to compare an incoming CAN message with the previous frame.*/
- std::vector<std::shared_ptr<signal_t> > signals_; ///< signals_ - Vector holding signal_t object which share the same arbitration ID */
+ vect_ptr_signal_t signals_; ///< signals_ - Vector holding signal_t object which share the same arbitration ID */
public:
//message_definition_t(const message_definition_t& b);
@@ -66,7 +66,7 @@ public:
uint32_t flags,
frequency_clock_t frequency_clock,
bool force_send_changed,
- const std::vector<std::shared_ptr<signal_t> >& signals);
+ const vect_ptr_signal_t& signals);
message_definition_t(const std::string bus,
uint32_t id,
std::string name,
@@ -74,7 +74,7 @@ public:
uint32_t flags,
frequency_clock_t frequency_clock,
bool force_send_changed,
- const std::vector<std::shared_ptr<signal_t> >& signals);
+ const vect_ptr_signal_t& signals);
const std::string get_bus_name() const;
@@ -83,7 +83,7 @@ public:
bool is_fd() const;
bool is_j1939() const;
bool is_isotp() const;
- std::vector<std::shared_ptr<signal_t>>& get_signals();
+ vect_ptr_signal_t& get_signals();
uint32_t get_length() const;
uint32_t get_flags() const;