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, entry, status, time, val);
93 #if FW_PORT_SERIALIZATION == 1
100 #if FW_PORT_TRACING == 1
144 Fw::OutputPortBase(),
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(entry, status, time, val);
189 PolyPortBuffer _buffer;
191 _status = _buffer.serialize(entry);
194 _status = _buffer.serialize(status);
197 _status = _buffer.serialize(time);
200 _status = _buffer.serialize(val);
203 _status = this->m_serPort->invokeSerial(_buffer);
208 this->m_port->
invoke(entry, status, time, val);
uint8_t U8
8-bit unsigned integer
PlatformAssertArgType FwAssertArgType
NATIVE_UINT_TYPE SizeType
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
An enumeration for measurement status.
void addCallPort(InputPolyPort *callPort)
Register an input port.
OutputPolyPort()
Constructor.
void init()
Initialization function.
void invoke(const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)
Invoke a port interface.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.