mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 13:04:17 -06:00
* Format Fw and add to CI * Fix include of HPP file instead of H in extern C * Fix format strings
28 lines
594 B
C++
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
|