From 4920d5d2bbf2cb568d118fa6a74fffc58dfcb9a7 Mon Sep 17 00:00:00 2001 From: athatheocsd <athatheo@csd.auth.gr> Date: Fri, 14 Dec 2018 19:28:18 +0200 Subject: [PATCH] Classes created --- CMakeLists.txt | 2 +- inc/Services/EventActionService.hpp | 16 ++++++++++++++++ src/Services/EventActionService.cpp | 4 ++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 inc/Services/EventActionService.hpp create mode 100644 src/Services/EventActionService.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index a6c978bb..cd9638ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ add_library(common OBJECT src/Services/MemoryManagementService.cpp src/Services/ParameterService.cpp src/Services/RequestVerificationService.cpp - src/Services/TestService.cpp) + src/Services/TestService.cpp inc/Services/EventActionService.hpp src/Services/EventActionService.cpp) # Specify the .cpp files for the executables add_executable(ecss_services diff --git a/inc/Services/EventActionService.hpp b/inc/Services/EventActionService.hpp new file mode 100644 index 00000000..2697a447 --- /dev/null +++ b/inc/Services/EventActionService.hpp @@ -0,0 +1,16 @@ +#ifndef ECSS_SERVICES_EVENTACTIONSERVICE_HPP +#define ECSS_SERVICES_EVENTACTIONSERVICE_HPP + +#include "Service.hpp" + + +class EventActionService : public Service { +public: + EventActionService(){ + serviceType = 19; + } + + + +}; +#endif //ECSS_SERVICES_EVENTACTIONSERVICE_HPP diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp new file mode 100644 index 00000000..0beb4895 --- /dev/null +++ b/src/Services/EventActionService.cpp @@ -0,0 +1,4 @@ +#include "Services/EventActionService.hpp" +#include "Message.hpp" +#include "MessageParser.hpp" + -- GitLab