Skip to content
Snippets Groups Projects
Unverified Commit 33fff303 authored by Dimitrios Stoupis's avatar Dimitrios Stoupis
Browse files

Rename the file to a shorter name

parent bad990f2
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ add_library(common OBJECT ...@@ -26,7 +26,7 @@ add_library(common OBJECT
src/Services/RequestVerificationService.cpp src/Services/RequestVerificationService.cpp
src/Services/TestService.cpp src/Services/TestService.cpp
src/Services/TimeManagementService.cpp src/Services/TimeManagementService.cpp
src/Services/TimeBasedCommandSchedulingService.cpp src/Services/TimeBasedSchedulingService.cpp
src/Services/EventActionService.cpp src/Services/EventActionService.cpp
) )
......
#ifndef ECSS_SERVICES_TIMEBASEDCOMMANDSCHEDULINGSERVICE_HPP #ifndef ECSS_SERVICES_TIMEBASEDSCHEDULINGSERVICE_HPP
#define ECSS_SERVICES_TIMEBASEDCOMMANDSCHEDULINGSERVICE_HPP #define ECSS_SERVICES_TIMEBASEDSCHEDULINGSERVICE_HPP
#include <iostream> #include <iostream>
#include <vector> #include "etl/vector.h"
#include "Service.hpp" #include "Service.hpp"
#include "Helpers/CRCHelper.hpp" #include "Helpers/CRCHelper.hpp"
#include "ErrorHandler.hpp" #include "ErrorHandler.hpp"
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#define TIME_MARGIN_FOR_ACTIVATION 60 // todo: define the time margin for the command activation #define TIME_MARGIN_FOR_ACTIVATION 60 // todo: define the time margin for the command activation
class TimeBasedCommandSchedulingService : public Service { class TimeBasedSchedulingService : public Service {
public: public:
...@@ -105,4 +105,4 @@ private: ...@@ -105,4 +105,4 @@ private:
}; };
#endif //ECSS_SERVICES_TIMEBASEDCOMMANDSCHEDULINGSERVICE_HPP #endif //ECSS_SERVICES_TIMEBASEDSCHEDULINGSERVICE_HPP
#include "Services/TimeBasedCommandSchedulingService.hpp" #include "Services/TimeBasedSchedulingService.hpp"
void TimeBasedCommandSchedulingService::enableScheduleExecution(Message &request) { void TimeBasedSchedulingService::enableScheduleExecution(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
...@@ -10,7 +10,7 @@ void TimeBasedCommandSchedulingService::enableScheduleExecution(Message &request ...@@ -10,7 +10,7 @@ void TimeBasedCommandSchedulingService::enableScheduleExecution(Message &request
executionFunctionStatus = true; // Enable the service executionFunctionStatus = true; // Enable the service
} }
void TimeBasedCommandSchedulingService::disableScheduleExecution(Message &request) { void TimeBasedSchedulingService::disableScheduleExecution(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
...@@ -19,7 +19,7 @@ void TimeBasedCommandSchedulingService::disableScheduleExecution(Message &reques ...@@ -19,7 +19,7 @@ void TimeBasedCommandSchedulingService::disableScheduleExecution(Message &reques
executionFunctionStatus = false; // Disable the service executionFunctionStatus = false; // Disable the service
} }
void TimeBasedCommandSchedulingService::resetSchedule(Message &request) { void TimeBasedSchedulingService::resetSchedule(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
...@@ -30,7 +30,7 @@ void TimeBasedCommandSchedulingService::resetSchedule(Message &request) { ...@@ -30,7 +30,7 @@ void TimeBasedCommandSchedulingService::resetSchedule(Message &request) {
// todo: Add resetting for sub-schedules and groups, if defined // todo: Add resetting for sub-schedules and groups, if defined
} }
void TimeBasedCommandSchedulingService::insertActivities(Message &request) { void TimeBasedSchedulingService::insertActivities(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
...@@ -65,7 +65,7 @@ void TimeBasedCommandSchedulingService::insertActivities(Message &request) { ...@@ -65,7 +65,7 @@ void TimeBasedCommandSchedulingService::insertActivities(Message &request) {
} }
void TimeBasedCommandSchedulingService::timeShiftAllActivities(Message &request) { void TimeBasedSchedulingService::timeShiftAllActivities(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
...@@ -83,7 +83,7 @@ void TimeBasedCommandSchedulingService::timeShiftAllActivities(Message &request) ...@@ -83,7 +83,7 @@ void TimeBasedCommandSchedulingService::timeShiftAllActivities(Message &request)
} }
} }
void TimeBasedCommandSchedulingService::timeShiftActivitiesByID(Message &request) { void TimeBasedSchedulingService::timeShiftActivitiesByID(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
...@@ -106,7 +106,7 @@ void TimeBasedCommandSchedulingService::timeShiftActivitiesByID(Message &request ...@@ -106,7 +106,7 @@ void TimeBasedCommandSchedulingService::timeShiftActivitiesByID(Message &request
} }
} }
void TimeBasedCommandSchedulingService::deleteActivitiesByID(Message &request) { void TimeBasedSchedulingService::deleteActivitiesByID(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
...@@ -114,7 +114,7 @@ void TimeBasedCommandSchedulingService::deleteActivitiesByID(Message &request) { ...@@ -114,7 +114,7 @@ void TimeBasedCommandSchedulingService::deleteActivitiesByID(Message &request) {
} }
void TimeBasedCommandSchedulingService::detailReportAllActivities(Message &request) { void TimeBasedSchedulingService::detailReportAllActivities(Message &request) {
// Check if the correct packet is being processed // Check if the correct packet is being processed
assert(request.serviceType == 11); assert(request.serviceType == 11);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment