31 const U8* getBuffAddr()
const {
47 InputDpResponsePort ::
48 InputDpResponsePort() :
55 void InputDpResponsePort ::
61 void InputDpResponsePort ::
70 this->m_comp = callComp;
71 this->m_func = funcPtr;
72 this->m_connObj = callComp;
75 void InputDpResponsePort ::
82#if FW_PORT_TRACING == 1
89 return this->m_func(this->m_comp, this->m_portNum,
id, buffer, status);
92#if FW_PORT_SERIALIZATION == 1
99#if FW_PORT_TRACING == 1
124 this->m_func(this->m_comp, this->m_portNum,
id, buffer, status);
135 OutputDpResponsePort ::
136 OutputDpResponsePort() :
143 void OutputDpResponsePort ::
149 void OutputDpResponsePort ::
154 this->m_port = callPort;
155 this->m_connObj = callPort;
157#if FW_PORT_SERIALIZATION == 1
158 this->m_serPort =
nullptr;
162 void OutputDpResponsePort ::
169#if FW_PORT_TRACING == 1
173#if FW_PORT_SERIALIZATION
174 FW_ASSERT((this->m_port !=
nullptr) || (this->m_serPort !=
nullptr));
176 if (this->m_port !=
nullptr) {
177 this->m_port->invoke(
id, buffer, status);
181 DpResponsePortBuffer _buffer;
183 _status = _buffer.serialize(
id);
186 _status = _buffer.serialize(buffer);
189 _status = _buffer.serialize(status);
192 _status = this->m_serPort->invokeSerial(_buffer);
197 this->m_port->invoke(
id, buffer, status);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
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.