X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=low-can-binding%2Fbinding%2Flow-can-subscription.hpp;h=ded600c5140c7e8af79a1326997a408c33ffc6e5;hb=refs%2Fchanges%2F32%2F21732%2F3;hp=8af0aa1905855e454ae5edf2371bee88778dfcfb;hpb=ed4d7bde0c6dd6d7f4812f2601e1fa2f681ed960;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/binding/low-can-subscription.hpp b/low-can-binding/binding/low-can-subscription.hpp index 8af0aa19..ded600c5 100644 --- a/low-can-binding/binding/low-can-subscription.hpp +++ b/low-can-binding/binding/low-can-subscription.hpp @@ -54,7 +54,7 @@ private: std::shared_ptr can_signal_; ///< can_signal_ - the CAN signal subscribed std::vector > diagnostic_message_; ///< diagnostic_message_ - diagnostic messages meant to receive OBD2 /// responses. Normal diagnostic request and response are not tested for now. - utils::socketcan_bcm_t socket_; ///< socket_ - socket_ that receives CAN messages. + std::shared_ptr socket_; ///< socket_ - socket_ that receives CAN messages. int set_event(); @@ -83,7 +83,7 @@ public: float get_frequency() const; float get_min() const; float get_max() const; - utils::socketcan_bcm_t& get_socket(); + std::shared_ptr get_socket(); void set_frequency(float freq); void set_min(float min);