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) {
83 ++this->numSuccessfulAllocations;
87 ++this->numFailedAllocations;
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
FwIdType FwOpcodeType
The type of a command opcode.
void log_WARNING_HI_BufferAllocationFailed_ThrottleClear()
Reset throttle value for BufferAllocationFailed.
PlatformSizeType FwSizeType
void tlmWrite_NumSuccessfulAllocations(U32 arg, Fw::Time _tlmTime=Fw::Time())
~DpManager()
Destroy the DpManager.
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.
Auto-generated base for DpManager component.
FwSizeType getSize() const
void productSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port productSendOut.
void log_WARNING_HI_BufferAllocationFailed(FwDpIdType id)
FwIdType FwDpIdType
The type of a data product identifier.
PlatformIndexType FwIndexType
RateGroupDivider component implementation.
DpManager(const char *const compName)
Construct a DpManager.
void tlmWrite_NumBytes(U64 arg, Fw::Time _tlmTime=Fw::Time())
Fw::Buffer bufferGetOut_out(FwIndexType portNum, FwSizeType size)
Invoke output port bufferGetOut.