1
0
forked from fsfw/fsfw

Today's the day. Renamed platform to framework.

This commit is contained in:
Bastian Baetz
2016-06-15 23:48:41 +02:00
committed by Ulrich Mohr
parent 40987d0b27
commit 1d22a6c97e
356 changed files with 33946 additions and 3 deletions

View File

@ -0,0 +1,35 @@
/*
* ParameterMessage.h
*
* Created on: 28.11.2015
* Author: mohr
*/
#ifndef PARAMETERMESSAGE_H_
#define PARAMETERMESSAGE_H_
#include <framework/ipc/CommandMessage.h>
#include <framework/parameters/HasParametersIF.h>
#include <framework/storagemanager/StorageManagerIF.h>
class ParameterMessage {
private:
ParameterMessage();
public:
static const uint8_t MESSAGE_ID = PARAMETER_MESSAGE_ID;
static const Command_t CMD_PARAMETER_LOAD = MAKE_COMMAND_ID( 0x01 );
static const Command_t CMD_PARAMETER_DUMP = MAKE_COMMAND_ID( 0x02 );
static const Command_t REPLY_PARAMETER_DUMP = MAKE_COMMAND_ID( 0x03 );
static ParameterId_t getParameterId(const CommandMessage* message);
static store_address_t getStoreId(const CommandMessage* message);
static void setParameterDumpCommand(CommandMessage* message,
ParameterId_t id);
static void setParameterDumpReply(CommandMessage* message,
ParameterId_t id, store_address_t storageID);
static void setParameterLoadCommand(CommandMessage* message,
ParameterId_t id, store_address_t storageID);
};
#endif /* PARAMETERMESSAGE_H_ */