diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2017-03-16 09:54:02 +0100 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2017-03-16 09:54:02 +0100 |
commit | fbd0fb6d5f38f7a12f3bebb4a7fb14bd3e6bfb7c (patch) | |
tree | f03dc9d234c145aadc55d3aad4ca7e867000b3a6 /src/openxc/signal.cpp | |
parent | fa8c58708fe0fa8a0f4a88293e0eed196494f020 (diff) |
wip: generation of a configuration for can_signaling.
Change-Id: I35b31a98e87943a4e2fcad06561fec7a347b8483
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'src/openxc/signal.cpp')
-rwxr-xr-x | src/openxc/signal.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/openxc/signal.cpp b/src/openxc/signal.cpp index 9406112c..6c3ff82a 100755 --- a/src/openxc/signal.cpp +++ b/src/openxc/signal.cpp @@ -2,6 +2,18 @@ namespace openxc
{
+ std::string signal::id() const
+ {
+ return id_;
+ }
+
+ void signal::id(const std::string& id)
+ {
+ id_ = id;
+ }
+
+ void id(const std::string& id);
+
std::string signal::generic_name() const
{
return generic_name_;
@@ -47,7 +59,7 @@ namespace openxc return states_;
}
- std::uint32_t signal::max_frequency() const
+ float signal::max_frequency() const
{
return max_frequency_;
}
|