31 const U8* getBuffAddr()
const {
71 this->m_func = funcPtr;
81 #if FW_PORT_TRACING == 1
91 #if FW_PORT_SERIALIZATION == 1
98 #if FW_PORT_TRACING == 1
147 this->m_port = callPort;
150 #if FW_PORT_SERIALIZATION == 1
151 this->m_serPort =
nullptr;
161 #if FW_PORT_TRACING == 1
165 #if FW_PORT_SERIALIZATION
166 FW_ASSERT((this->m_port !=
nullptr) || (this->m_serPort !=
nullptr));
168 if (this->m_port !=
nullptr) {
169 this->m_port->
invoke(data, context);
173 ComPortBuffer _buffer;
175 _status = _buffer.serialize(data);
178 _status = _buffer.serialize(context);
181 _status = this->m_serPort->invokeSerial(_buffer);
186 this->m_port->
invoke(data, context);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
void addCallPort(InputComPort *callPort)
Register an input port.
OutputComPort()
Constructor.
void init()
Initialization function.
void invoke(Fw::ComBuffer &data, U32 context)
Invoke a port interface.
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.