even better name
This commit is contained in:
parent
33df8e8cc5
commit
e8b9897ee3
@ -1,4 +1,4 @@
|
||||
target_sources(
|
||||
${LIB_FSFW_NAME}
|
||||
PRIVATE SourceHandler.cpp DestHandler.cpp PutRequest.cpp MsgToUserParser.cpp
|
||||
FaultHandlerBase.cpp UserBase.cpp)
|
||||
PRIVATE SourceHandler.cpp DestHandler.cpp PutRequest.cpp
|
||||
ReservedMessageParser.cpp FaultHandlerBase.cpp UserBase.cpp)
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "MsgToUserParser.h"
|
||||
|
||||
#include "ReserverMessageParser.h"
|
||||
#include "fsfw/cfdp/CfdpMessage.h"
|
||||
#include "fsfw/cfdp/handler/PutRequest.h"
|
||||
#include "fsfw/cfdp/tlv/MessageToUserTlv.h"
|
||||
@ -8,11 +7,12 @@
|
||||
|
||||
using namespace returnvalue;
|
||||
|
||||
cfdp::MsgsToUserParser::MsgsToUserParser(StorageManagerIF& ipcStore, MessageQueueIF& msgQueue,
|
||||
cfdp::ReservedMessageParser::ReservedMessageParser(StorageManagerIF& ipcStore,
|
||||
MessageQueueIF& msgQueue,
|
||||
MessageQueueId_t userDestination)
|
||||
: msgQueue(msgQueue), ipcStore(ipcStore) {}
|
||||
|
||||
ReturnValue_t cfdp::MsgsToUserParser::parseMessages(const uint8_t* msgsToUserPtr,
|
||||
ReturnValue_t cfdp::ReservedMessageParser::parseForReserverMessages(const uint8_t* msgsToUserPtr,
|
||||
size_t sizeOfMessages) {
|
||||
ReturnValue_t result;
|
||||
size_t currentIdx = 0;
|
@ -10,12 +10,12 @@ namespace cfdp {
|
||||
* CFDP requests sent via the IPC store where applicable. It also provides an API to retrieve
|
||||
* custom messages which are not special CFDP messages from a provided bytestream.
|
||||
*/
|
||||
class MsgsToUserParser {
|
||||
class ReservedMessageParser {
|
||||
public:
|
||||
MsgsToUserParser(StorageManagerIF& ipcStore, MessageQueueIF& msgQueue,
|
||||
ReservedMessageParser(StorageManagerIF& ipcStore, MessageQueueIF& msgQueue,
|
||||
MessageQueueId_t userDestination);
|
||||
|
||||
ReturnValue_t parseMessages(const uint8_t* msgsToUserPtr, size_t sizeOfMessages);
|
||||
ReturnValue_t parseForReserverMessages(const uint8_t* msgsToUserPtr, size_t sizeOfMessages);
|
||||
|
||||
private:
|
||||
MessageQueueIF& msgQueue;
|
Loading…
Reference in New Issue
Block a user