31 const U8* getBuffAddr()
const {
55 void InputComPort :: {
…}
70 this->m_comp = callComp;
71 this->m_func = funcPtr;
72 this->m_connObj = callComp;
61 void InputComPort :: {
…}
81#if FW_PORT_TRACING == 1
88 return this->m_func(this->m_comp, this->m_portNum, data, context);
75 void InputComPort :: {
…}
91#if FW_PORT_SERIALIZATION == 1
98#if FW_PORT_TRACING == 1
117 this->m_func(this->m_comp, this->m_portNum, data, context);
136 void OutputComPort ::
136 void OutputComPort :: {
…}
142 void OutputComPort ::
147 this->m_port = callPort;
148 this->m_connObj = callPort;
150#if FW_PORT_SERIALIZATION == 1
151 this->m_serPort =
nullptr;
142 void OutputComPort :: {
…}
155 void OutputComPort ::
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(data, context);
173 ComPortBuffer _buffer;
175 _status = _buffer.serialize(data);
178 _status = _buffer.serialize(context);
181 _status = this->m_serPort->invokeSerial(_buffer);
186 this->m_port->invoke(data, context);
155 void OutputComPort :: {
…}
uint8_t U8
8-bit unsigned integer
PlatformUIntType NATIVE_UINT_TYPE
PlatformAssertArgType FwAssertArgType
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.