7 #ifndef Fw_CmdResponsePortAc_HPP 8 #define Fw_CmdResponsePortAc_HPP 14 #if !FW_DIRECT_PORT_CALLS 125 #if !FW_DIRECT_PORT_CALLS 185 #if FW_PORT_SERIALIZATION == 1 static Fw::SerializeStatus serializePortArgs(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response, Fw::SerialBufferBase &_buffer)
Serialize port arguments into a buffer.
FwIdType FwOpcodeType
The type of a command opcode.
PlatformSizeType FwSizeType
Fw::CmdResponse m_response
Enum representing a command response.
SerializeStatus
forward declaration for string
OutputCmdResponsePort()
Constructor.
The size of the serial representation.
U8 * getBuffAddr() override
Fw::SerializeStatus deserializePortArgs(Fw::SerialBufferBase &_buffer)
Deserialze port arguments into members.
const U8 * getBuffAddr() const override
Fw::Serializable::SizeType getCapacity() const override
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
CmdResponsePortSerializer()
Constructor.
uint8_t U8
8-bit unsigned integer
static constexpr FwSizeType CAPACITY
PlatformIndexType FwIndexType
void init()
Initialization function.
Implementation of malloc based allocator.
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.