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 NATIVE_INT_TYPE portNum, U32 context) {
67 void DpManager ::CLEAR_EVENT_THROTTLE_cmdHandler(
FwOpcodeType opCode, U32 cmdSeq) {
83 ++this->numSuccessfulAllocations;
87 ++this->numFailedAllocations;
PlatformIntType NATIVE_INT_TYPE
PlatformSizeType FwSizeType
PlatformIndexType FwIndexType
C++-compatible configuration header for fprime configuration.
@ OK
Command successfully executed.
@ FAILURE
Representing failure.
@ SUCCESS
Representing success.
Auto-generated base for DpManager component.
void tlmWrite_NumDataProducts(U32 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_BufferAllocationFailed_ThrottleClear()
Reset throttle value for BufferAllocationFailed.
void tlmWrite_NumSuccessfulAllocations(U32 arg, Fw::Time _tlmTime=Fw::Time())
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void tlmWrite_NumBytes(U64 arg, Fw::Time _tlmTime=Fw::Time())
Fw::Buffer bufferGetOut_out(FwIndexType portNum, U32 size)
Invoke output port bufferGetOut.
void tlmWrite_NumFailedAllocations(U32 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_BufferAllocationFailed(U32 id)
void productSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port productSendOut.
void productResponseOut_out(FwIndexType portNum, FwDpIdType id, const Fw::Buffer &buffer, const Fw::Success &status)
Invoke output port productResponseOut.
~DpManager()
Destroy the DpManager.
DpManager(const char *const compName)
Construct a DpManager.