31 const U8* getBuffAddr()
const {
71 this->m_func = funcPtr;
82 #if FW_PORT_TRACING == 1
92 #if FW_PORT_SERIALIZATION == 1
99 #if FW_PORT_TRACING == 1
154 this->m_port = callPort;
157 #if FW_PORT_SERIALIZATION == 1
158 this->m_serPort =
nullptr;
169 #if FW_PORT_TRACING == 1
173 #if FW_PORT_SERIALIZATION
174 FW_ASSERT((this->m_port !=
nullptr) || (this->m_serPort !=
nullptr));
176 if (this->m_port !=
nullptr) {
177 this->m_port->
invoke(
id, buffer, status);
181 DpResponsePortBuffer _buffer;
183 _status = _buffer.serialize(
id);
186 _status = _buffer.serialize(buffer);
189 _status = _buffer.serialize(status);
192 _status = this->m_serPort->invokeSerial(_buffer);
197 this->m_port->
invoke(
id, buffer, status);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
void invoke(FwDpIdType id, const Fw::Buffer &buffer, const Fw::Success &status)
Invoke a port interface.
OutputDpResponsePort()
Constructor.
void init()
Initialization function.
void addCallPort(InputDpResponsePort *callPort)
Register an input port.
NATIVE_UINT_TYPE SizeType
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.