18 numSuccessfulAllocations(0),
19 numFailedAllocations(0),
33 return this->getBuffer(portNum,
id, size, buffer);
39 const Fw::Success status = this->getBuffer(portNum,
id, size, buffer);
48 ++this->numDataProducts;
49 this->numBytes += buffer.
getSize();
55 void DpManager::schedIn_handler(
const FwIndexType portNum, U32 context) {
67 void DpManager ::CLEAR_EVENT_THROTTLE_cmdHandler(
FwOpcodeType opCode, U32 cmdSeq) {
83 ++this->numSuccessfulAllocations;
87 ++this->numFailedAllocations;
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void log_WARNING_HI_BufferAllocationFailed_ThrottleClear()
Reset throttle value for BufferAllocationFailed.
void log_WARNING_HI_BufferAllocationFailed(U32 id)
PlatformSizeType FwSizeType
void tlmWrite_NumSuccessfulAllocations(U32 arg, Fw::Time _tlmTime=Fw::Time())
~DpManager()
Destroy the DpManager.
PlatformIndexType FwIndexType
Fw::Buffer bufferGetOut_out(FwIndexType portNum, U32 size)
Invoke output port bufferGetOut.
void tlmWrite_NumFailedAllocations(U32 arg, Fw::Time _tlmTime=Fw::Time())
void productResponseOut_out(FwIndexType portNum, FwDpIdType id, const Fw::Buffer &buffer, const Fw::Success &status)
Invoke output port productResponseOut.
void tlmWrite_NumDataProducts(U32 arg, Fw::Time _tlmTime=Fw::Time())
Command successfully executed.
C++-compatible configuration header for fprime configuration.
Auto-generated base for DpManager component.
void productSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port productSendOut.
DpManager(const char *const compName)
Construct a DpManager.
void tlmWrite_NumBytes(U64 arg, Fw::Time _tlmTime=Fw::Time())