31 const U8* getBuffAddr()
const {
71 this->m_func = funcPtr;
78 #if FW_PORT_TRACING == 1
88 #if FW_PORT_SERIALIZATION == 1
95 #if FW_PORT_TRACING == 1
121 Fw::OutputPortBase(),
138 this->m_port = callPort;
141 #if FW_PORT_SERIALIZATION == 1
142 this->m_serPort =
nullptr;
149 #if FW_PORT_TRACING == 1
153 #if FW_PORT_SERIALIZATION
154 FW_ASSERT((this->m_port !=
nullptr) || (this->m_serPort !=
nullptr));
156 if (this->m_port !=
nullptr) {
157 this->m_port->
invoke(key);
161 PingPortBuffer _buffer;
163 _status = _buffer.serialize(key);
166 _status = this->m_serPort->invokeSerial(_buffer);
171 this->m_port->
invoke(key);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
NATIVE_UINT_TYPE SizeType
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
void invoke(U32 key)
Invoke a port interface.
void init()
Initialization function.
void addCallPort(InputPingPort *callPort)
Register an input port.
OutputPingPort()
Constructor.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.