Cleaning and renaming.
[apps/agl-service-can-low-level.git] / examples / toyota / configuration-generated.cpp
index 4ffc902..4b9dac4 100644 (file)
@@ -1,7 +1,7 @@
-#include "configuration.hpp"
+#include "application.hpp"
 #include "can/can-decoder.hpp"
 
-configuration_t::configuration_t()
+application_t::application_t()
        : can_message_set_{{0, "example", 0, 1, 5, 0, 19}}
        , can_message_definition_
        {
@@ -28,7 +28,7 @@ configuration_t::configuration_t()
                                {
                                },
                                false,
-                               decoder_t::booleanDecoder,
+                               decoder_t::decode_boolean,
                                nullptr,
                                false
                        },
@@ -48,7 +48,7 @@ configuration_t::configuration_t()
                                {
                                },
                                false,
-                               decoder_t::booleanDecoder,
+                               decoder_t::decode_boolean,
                                nullptr,
                                false
                        },
@@ -68,7 +68,7 @@ configuration_t::configuration_t()
                                {
                                },
                                false,
-                               decoder_t::booleanDecoder,
+                               decoder_t::decode_boolean,
                                nullptr,
                                false
                        },
@@ -88,7 +88,7 @@ configuration_t::configuration_t()
                                {
                                },
                                false,
-                               decoder_t::booleanDecoder,
+                               decoder_t::decode_boolean,
                                nullptr,
                                false
                        },
@@ -108,7 +108,7 @@ configuration_t::configuration_t()
                                {
                                },
                                false,
-                               decoder_t::booleanDecoder,
+                               decoder_t::decode_boolean,
                                nullptr,
                                false
                        }
@@ -331,7 +331,7 @@ configuration_t::configuration_t()
 {
 }
 
-const std::string configuration_t::get_diagnostic_bus() const
+const std::string application_t::get_diagnostic_bus() const
 {
        return "can0";
 }