30 this->handleSynchronousSend(sendBuffer, context);
32 this->handleAsynchronousSend(sendBuffer, context);
38 void ComStub::drvConnected_handler(
const FwIndexType portNum) {
41 this->m_reinitialize =
false;
46 void ComStub::drvReceiveIn_handler(
const FwIndexType portNum,
59 void ComStub::drvAsyncSendReturnIn_handler(
FwIndexType portNum,
66 this->handleAsyncRetry(fwBuffer);
71 this->m_retry_count = 0;
103 this->m_reinitialize =
true;
112 this->m_storedContext = context;
116 void ComStub::handleAsyncRetry(
Fw::Buffer& fwBuffer) {
119 this->m_retry_count++;
127 this->m_retry_count = 0;
bool isConnected_drvAsyncSendOut_OutputPort(FwIndexType portNum)
void dataReturnOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataReturnOut.
ComStub(const char *const compName)
void dataOut_out(FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)
Invoke output port dataOut.
Drv::ByteStreamStatus drvSendOut_out(FwIndexType portNum, Fw::Buffer &sendBuffer)
Invoke output port drvSendOut.
static void log(const char *format,...)
log a formated string with supplied arguments
Auto-generated base for ComStub component.
Data send should be retried.
void drvReceiveReturnOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port drvReceiveReturnOut.
void drvAsyncSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port drvAsyncSendOut.
bool isConnected_comStatusOut_OutputPort(FwIndexType portNum)
Status returned by the send call.
Operation worked as expected.
bool isConnected_drvSendOut_OutputPort(FwIndexType portNum)
const FwIndexType RETRY_LIMIT
PlatformIndexType FwIndexType
C++ header for working with basic fprime types.
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
void comStatusOut_out(FwIndexType portNum, Fw::Success &condition)
Invoke output port comStatusOut.