From 0c7c9bbee5cbc2ba694adc97d618c593ef3ab889 Mon Sep 17 00:00:00 2001 From: hiluluk <thodkatz@gmail.com> Date: Thu, 4 Apr 2019 19:52:47 +0300 Subject: [PATCH] Update documentation and make execute() static --- inc/MessageParser.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/inc/MessageParser.hpp b/inc/MessageParser.hpp index 4b848bc7..759c3139 100644 --- a/inc/MessageParser.hpp +++ b/inc/MessageParser.hpp @@ -5,18 +5,21 @@ #include "Message.hpp" /** - * A generic class responsible for the execution of the incoming telemetry and telecommand - * packets. + * A generic class responsible for the execution and the parsing of the incoming telemetry and telecommand + * packets */ class MessageParser { public: /** - * It is responsible to call the suitable function that executes the proper service. The way that - * the services are selected is based on the serviceType of the \p message + * It is responsible to call the requested service that executes a telecommand packet. + * + * @param Message Contains the necessary parameters to call the suitable subservice + * @todo Implement the execute() in the upcoming services or generally in the upcoming + * activities */ - void execute(Message &message); + static void execute(Message &message); /** * Parse a message that contains the CCSDS and ECSS packet headers, as well as the data -- GitLab