7 #ifndef Svc_DpWriter_HPP 8 #define Svc_DpWriter_HPP 10 #include <config/DpCfg.hpp> 27 "Number of buffer send in ports must equal DpWriterNumPorts");
29 "Number of dp written out ports must equal DpWriterNumPorts");
31 "Number of dealloc buffer send out ports must equal DpWriterNumPorts");
58 void bufferSendIn_handler(
const FwIndexType portNum,
69 void schedInInternal_internalInterfaceHandler() final;
72 void schedInInternal_overflowHook() final;
82 void CLEAR_EVENT_THROTTLE_cmdHandler(
FwOpcodeType opCode,
93 Fw::Success::T deserializePacketHeader(
Fw::Buffer& buffer,
94 Fw::DpContainer& container
98 void performProcessing(
Fw::DpContainer& container
103 Fw::Success::T writeFile(const
Fw::DpContainer& container,
110 const
Fw::DpContainer& container,
121 U32 m_numBuffersReceived = 0;
124 U64 m_numBytesWritten = 0;
127 U32 m_numSuccessfulWrites = 0;
130 U32 m_numFailedWrites = 0;
136 std::atomic<
bool> m_schedInQueued{
false};
FwIdType FwOpcodeType
The type of a command opcode.
PlatformSizeType FwSizeType
StringTemplate< FileNameStringSize > FileNameString
A read-only abstract superclass for StringBase.
PlatformIndexType FwIndexType
void configure(const Fw::ConstStringBase &dpFileNamePrefix)
Configure writer.
RateGroupDivider component implementation.
Implementation of malloc based allocator.
DpWriter(const char *const compName)
friend class DpWriterTester
Auto-generated base for DpWriter component.