summaryrefslogtreecommitdiffstats
path: root/low-can-binding/can/can-signals.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-12-07 17:36:38 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-14 08:59:41 +0000
commitff089ab8b009c81bcf92abf181faa00348eb62cd (patch)
tree34d34d14fd3813d65738a0e2ebab77be73cbe222 /low-can-binding/can/can-signals.cpp
parentea35eabeadce57e4f5015797fea530c5bb219fff (diff)
Cleaning the code for now unused functions
Also formating and retabulating some comments Change-Id: I95eda93e78fabeb336ca02e94307364954ab2318 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/can/can-signals.cpp')
-rw-r--r--low-can-binding/can/can-signals.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/low-can-binding/can/can-signals.cpp b/low-can-binding/can/can-signals.cpp
index a9645567..240436ff 100644
--- a/low-can-binding/can/can-signals.cpp
+++ b/low-can-binding/can/can-signals.cpp
@@ -79,11 +79,6 @@ const std::string can_signal_t::get_name() const
return prefix_ + "." + generic_name_;
}
-const std::string can_signal_t::get_prefix() const
-{
- return prefix_;
-}
-
uint8_t can_signal_t::get_bit_position() const
{
return bit_position_;
@@ -104,16 +99,6 @@ float can_signal_t::get_offset() const
return offset_;
}
-float can_signal_t::get_min_value() const
-{
- return min_value_;
-}
-
-float can_signal_t::get_max_value() const
-{
- return max_value_;
-}
-
frequency_clock_t& can_signal_t::get_frequency()
{
return frequency_;
@@ -124,16 +109,6 @@ bool can_signal_t::get_send_same() const
return send_same_;
}
-bool can_signal_t::get_force_send_changed() const
-{
- return force_send_changed_;
-}
-
-const std::map<uint8_t, std::string>& can_signal_t::get_states() const
-{
- return states_;
-}
-
const std::string can_signal_t::get_states(uint8_t value)
{
if (value < states_.size())
@@ -155,11 +130,6 @@ uint64_t can_signal_t::get_states(const std::string& value) const
return ret;
}
-size_t can_signal_t::get_state_count() const
-{
- return states_.size();
-}
-
bool can_signal_t::get_writable() const
{
return writable_;
@@ -195,11 +165,6 @@ void can_signal_t::set_parent(can_message_definition_t* parent)
parent_ = parent;
}
-void can_signal_t::set_prefix(std::string val)
-{
- prefix_ = val;
-}
-
void can_signal_t::set_received(bool r)
{
received_ = r;