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(
id, val);
173 PrmSetPortBuffer _buffer;
175 _status = _buffer.serialize(
id);
178 _status = _buffer.serialize(val);
181 _status = this->m_serPort->invokeSerial(_buffer);
186 this->m_port->
invoke(
id, val);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
OutputPrmSetPort()
Constructor.
void invoke(FwPrmIdType id, Fw::ParamBuffer &val)
Invoke a port interface.
void init()
Initialization function.
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.