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 103 Fw::ExternalString file_name(__fprime_ac_file_name_buffer,
sizeof __fprime_ac_file_name_buffer);
122 Fw::OutputPortBase(),
139 this->m_port = callPort;
142 #if FW_PORT_SERIALIZATION == 1 143 this->m_serPort =
nullptr;
150 #if FW_PORT_TRACING == 1 154 #if FW_PORT_SERIALIZATION 155 FW_ASSERT((this->m_port !=
nullptr) || (this->m_serPort !=
nullptr));
157 if (this->m_port !=
nullptr) {
158 this->m_port->
invoke(file_name);
162 FileAnnouncePortBuffer _buffer;
164 _status = _buffer.serializeFrom(file_name);
167 _status = this->m_serPort->invokeSerial(_buffer);
172 this->m_port->
invoke(file_name);
OutputFileAnnouncePort()
Constructor.
Serialization/Deserialization operation was successful.
void addCallPort(InputFileAnnouncePort *callPort)
Register an input port.
SerializeStatus
forward declaration for string
A string backed by an external buffer.
uint8_t U8
8-bit unsigned integer
void invoke(Fw::StringBase &file_name) const
Invoke a port interface.
RateGroupDivider component implementation.
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
Implementation of malloc based allocator.
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
void init()
Initialization function.