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