summaryrefslogtreecommitdiffstats
path: root/src/can/can-bus.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-08 23:10:44 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:40 +0100
commitccd244c10988cd59d6f0b35e1b83a5eebd7bfb01 (patch)
tree3b8584ac6569fc43be3558950fca99242b57f222 /src/can/can-bus.hpp
parent8cc56c40c96a63b157ee11ac7fd2494ffa63357d (diff)
Cleaning old can_bus_dev_t now implemented
separatly Change-Id: I4529100f118afe25aee747d36a77dc5b533878a5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Conflicts: src/can/can-bus.hpp
Diffstat (limited to 'src/can/can-bus.hpp')
-rw-r--r--src/can/can-bus.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/can/can-bus.hpp b/src/can/can-bus.hpp
index 797b895..154822f 100644
--- a/src/can/can-bus.hpp
+++ b/src/can/can-bus.hpp
@@ -41,17 +41,17 @@
#define CAN_ACTIVE_TIMEOUT_S 30
/// @brief Object used to handle decoding and manage event queue to be pushed.
-///
-/// This object is also used to initialize can_bus_dev_t object after reading
-/// json conf file describing the CAN devices to use. Thus, those object will read
+///
+/// This object is also used to initialize can_bus_dev_t object after reading
+/// json conf file describing the CAN devices to use. Thus, those object will read
/// on the device the CAN frame and push them into the can_bus_t can_message_q_ queue.
-///
+///
/// That queue will be later used to be decoded and pushed to subscribers.
class can_bus_t
{
private:
int conf_file_; /// < configuration file handle used to initialize can_bus_dev_t objects.
-
+
void can_decode_message();
std::thread th_decoding_; /// < thread that'll handle decoding a can frame
bool is_decoding_; /// < boolean member controling thread while loop