38 bool deallocate =
true;
42 U8*
const packetData = packetBuffer.
getData();
50 status = com.
setBuff(packetData, packetSize);
66 FW_ASSERT((packetSize -
sizeof(packetType)) < std::numeric_limits<U32>::max(),
67 static_cast<FwAssertArgType>(packetSize -
sizeof(packetType)));
71 packetBuffer.
setData(packetData +
sizeof(packetType));
72 packetBuffer.
setSize(static_cast<U32>(packetSize -
sizeof(packetType)));
100 void FprimeRouter ::cmdResponseIn_handler(
FwIndexType portNum,
void commandOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port commandOut.
Serialization/Deserialization operation was successful.
SerializeBufferBase & getSerializeRepr()
void setSize(SizeType size)
PlatformSizeType FwSizeType
void fileOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port fileOut.
Enum representing a command response.
bool isConnected_fileOut_OutputPort(FwIndexType portNum)
PlatformIndexType FwIndexType
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferDeallocate.
SerializeStatus
forward declaration for string
U32 FwPacketDescriptorType
FprimeRouter(const char *const compName)
Construct FprimeRouter object.
~FprimeRouter()
Destroy FprimeRouter object.
Auto-generated base for FprimeRouter component.
C++-compatible configuration header for fprime configuration.
uint8_t U8
8-bit unsigned integer
void unknownDataOut_out(FwIndexType portNum, Fw::Buffer &data, Fw::Buffer &context)
Invoke output port unknownDataOut.
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
void log_WARNING_HI_DeserializationError(U32 status) const
SerializeStatus setBuff(const U8 *src, Serializable::SizeType length)
sets buffer contents and size
void log_WARNING_HI_SerializationError(U32 status) const
bool isConnected_unknownDataOut_OutputPort(FwIndexType portNum)
SerializeStatus setBuffLen(Serializable::SizeType length)
sets buffer length manually after filling with data