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
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(condition);
161 SuccessConditionPortBuffer _buffer;
163 _status = _buffer.serialize(condition);
166 _status = this->m_serPort->invokeSerial(_buffer);
171 this->m_port->
invoke(condition);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
void invoke(Fw::Success &condition)
Invoke a port interface.
OutputSuccessConditionPort()
Constructor.
void init()
Initialization function.
void addCallPort(InputSuccessConditionPort *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.