Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
message: Rework message flags
[apps/agl-service-can-low-level.git]
/
low-can-binding
/
utils
/
socketcan-raw.hpp
diff --git
a/low-can-binding/utils/socketcan-raw.hpp
b/low-can-binding/utils/socketcan-raw.hpp
index
42e9874
..
02b3884
100644
(file)
--- 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" <romain.forlot@iot.bzh>
* Author "Loïc Collignon" <loic.collignon@iot.bzh>
* Licensed under the Apache License, Version 2.0 (the "License");
* Author "Romain Forlot" <romain.forlot@iot.bzh>
* Author "Loïc Collignon" <loic.collignon@iot.bzh>
* 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<message_t> read_message();
using socketcan_t::socketcan_t;
virtual int open(std::string device_name);
virtual std::shared_ptr<message_t> read_message();
- virtual void write_message(std::shared_ptr<message_t> cm);
- virtual void write_message(std::vector<std::shared_ptr<message_t>>& vobj);
-
- private:
- int bind(const struct sockaddr* addr, socklen_t len);
+ virtual int write_message(message_t& cm);
};
}
};
}