fprime/Fw/Port/OutputSerializePort.cpp
Thomas Boyer-Chammard ab58cf18fb
Format Fw and add to CI (#3976)
* Format Fw and add to CI

* Fix include of HPP file instead of H in extern C

* Fix format strings
2025-08-04 12:56:02 -07:00

28 lines
594 B
C++

#include <Fw/Port/OutputSerializePort.hpp>
#include <Fw/Types/Assert.hpp>
#include <cstdio>
#if FW_PORT_SERIALIZATION
namespace Fw {
// SerializePort has no call interface. It is to pass through serialized data
OutputSerializePort::OutputSerializePort() : OutputPortBase() {}
OutputSerializePort::~OutputSerializePort() {}
void OutputSerializePort::init() {
OutputPortBase::init();
}
#if FW_OBJECT_TO_STRING == 1
const char* OutputSerializePort::getToStringFormatString() {
return "Output Serial Port: %s %s->(%s)";
}
#endif
} // namespace Fw
#endif // FW_PORT_SERIALIZATION