31 const U8* getBuffAddr()
const {
71 this->m_func = funcPtr;
83 #if FW_PORT_TRACING == 1
90 return this->m_func(this->
m_comp, this->
m_portNum,
id, timeTag, severity, args);
93 #if FW_PORT_SERIALIZATION == 1
100 #if FW_PORT_TRACING == 1
131 this->m_func(this->
m_comp, this->
m_portNum,
id, timeTag, severity, args);
161 this->m_port = callPort;
164 #if FW_PORT_SERIALIZATION == 1
165 this->m_serPort =
nullptr;
177 #if FW_PORT_TRACING == 1
181 #if FW_PORT_SERIALIZATION
182 FW_ASSERT((this->m_port !=
nullptr) || (this->m_serPort !=
nullptr));
184 if (this->m_port !=
nullptr) {
185 this->m_port->
invoke(
id, timeTag, severity, args);
189 LogPortBuffer _buffer;
191 _status = _buffer.serialize(
id);
194 _status = _buffer.serialize(timeTag);
197 _status = _buffer.serialize(severity);
200 _status = _buffer.serialize(args);
203 _status = this->m_serPort->invokeSerial(_buffer);
208 this->m_port->
invoke(
id, timeTag, severity, args);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
Enum representing event severity.
OutputLogPort()
Constructor.
void init()
Initialization function.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Invoke a port interface.
void addCallPort(InputLogPort *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.