X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Futils%2Fsocketcan-raw.hpp;h=02b3884c3e3c83456ec9f2b2b1f4afa56fa1eef6;hb=542e3d732ec17e4c49d1059a9262f6535a7f3e62;hp=42e98746de0d307f48c5cdb9ffd75c9cfeb1c4fb;hpb=a6fb72a70f90c35e0968f2460d324a8505410562;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/utils/socketcan-raw.hpp b/low-can-binding/utils/socketcan-raw.hpp index 42e98746..02b3884c 100644 --- a/low-can-binding/utils/socketcan-raw.hpp +++ b/low-can-binding/utils/socketcan-raw.hpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015, 2016 ,2017 "IoT.bzh" + * Copyright (C) 2015, 2016 , 2017, 2018, 2019 "IoT\.bzh" * Author "Romain Forlot" * Author "Loïc Collignon" * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,11 +27,7 @@ namespace utils using socketcan_t::socketcan_t; virtual int open(std::string device_name); virtual std::shared_ptr read_message(); - virtual void write_message(std::shared_ptr cm); - virtual void write_message(std::vector>& vobj); - - private: - int bind(const struct sockaddr* addr, socklen_t len); + virtual int write_message(message_t& cm); }; }