fsfw/parameters/ParameterHelper.h
Ulrich Mohr 575f70ba03 updating code from Flying Laptop
This is the framework of Flying Laptop OBSW version A.13.0.
2018-07-12 16:29:32 +02:00

28 lines
716 B
C++

#ifndef PARAMETERHELPER_H_
#define PARAMETERHELPER_H_
#include <framework/parameters/ParameterMessage.h>
#include <framework/parameters/ReceivesParameterMessagesIF.h>
class ParameterHelper {
public:
ParameterHelper(ReceivesParameterMessagesIF *owner);
virtual ~ParameterHelper();
ReturnValue_t handleParameterMessage(CommandMessage *message);
ReturnValue_t initialize();
private:
ReceivesParameterMessagesIF *owner;
MessageQueueId_t ownerQueueId;
StorageManagerIF *storage;
ReturnValue_t sendParameter(MessageQueueId_t to, uint32_t id, const ParameterWrapper *description);
void rejectCommand(MessageQueueId_t to, ReturnValue_t reason, Command_t initialCommand);
};
#endif /* PARAMETERHELPER_H_ */