From 49fe0eec8f17698fc5f86d0abe01777af1fb2b23 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 14 Apr 2017 13:24:07 +0200 Subject: Change directory architecture to use 2 separated projects. Each projects, binder and generator, has to be compiled separatly. CAN-binder will host high and low level binding CAN-config-generator only the generator used for low level binding. build.sh script just launch both build in their respective dir. Change-Id: Ic77932660fcca507b23a631d4e4e790f608880ae Signed-off-by: Romain Forlot --- .../src/openxc/diagnostic_message.hpp | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100755 can-config-generator/src/openxc/diagnostic_message.hpp (limited to 'can-config-generator/src/openxc/diagnostic_message.hpp') diff --git a/can-config-generator/src/openxc/diagnostic_message.hpp b/can-config-generator/src/openxc/diagnostic_message.hpp deleted file mode 100755 index 1ceba1b..0000000 --- a/can-config-generator/src/openxc/diagnostic_message.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once - -#include -#include - -namespace openxc -{ - class diagnostic_message - { - private: - std::string bus_; - std::uint32_t id_; - std::uint32_t mode_; - float frequency_; - std::uint32_t pid_; - std::string name_; - std::string decoder_; - std::string callback_; - public: - std::string bus() const; - std::uint32_t id() const; - std::uint32_t mode() const; - float frequency() const; - std::uint32_t pid() const; - std::string name() const; - std::string decoder() const; - std::string callback() const; - - void from_json(const nlohmann::json& j); - nlohmann::json to_json() const; - }; - - void to_json(nlohmann::json& j, const diagnostic_message& p); - void from_json(const nlohmann::json& j, diagnostic_message& p); -} -- cgit