CFDP SOURCE handler #157

Merged
muellerr merged 107 commits from cfdp-source-handler into develop 2023-10-19 10:59:55 +02:00
5 changed files with 8 additions and 5 deletions
Showing only changes of commit 69fd6d0f6a - Show all commits

View File

@ -1,4 +1,4 @@
target_sources(
${LIB_FSFW_NAME}
PRIVATE SourceHandler.cpp DestHandler.cpp MetadataParser.cpp
PutRequestReader.cpp FaultHandlerBase.cpp UserBase.cpp)
PutRequest.cpp FaultHandlerBase.cpp UserBase.cpp)

View File

@ -9,6 +9,7 @@ class MetadataParser {
explicit MetadataParser(MetadataPduReader& reader);
private:
};
} // namespace cfdp

View File

@ -0,0 +1,5 @@
#include "PutRequest.h"
[[nodiscard]] bool cfdp::PutRequest::isMetadataOnly() const {
return !destNameSize.has_value() and !sourceNameSize.has_value();
}

View File

@ -21,9 +21,7 @@ class PutRequest {
std::vector<MessageToUserTlv> messagesToUser;
std::vector<FilestoreRequestTlv> fsRequest;
[[nodiscard]] bool isMetadataOnly() const {
return !destNameSize.has_value() and !sourceNameSize.has_value();
}
[[nodiscard]] bool isMetadataOnly() const;
};
} // namespace cfdp

View File

@ -1 +0,0 @@
#include "PutRequestReader.h"