From fbd0fb6d5f38f7a12f3bebb4a7fb14bd3e6bfb7c Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Thu, 16 Mar 2017 09:54:02 +0100 Subject: wip: generation of a configuration for can_signaling. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I35b31a98e87943a4e2fcad06561fec7a347b8483 Signed-off-by: Loïc Collignon --- src/openxc/signal.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/openxc/signal.cpp') 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_; } -- cgit 1.2.3-korg