| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include <Fw/Port/OutputSerializePort.hpp> | ||
| 2 | #include <Fw/Types/Assert.hpp> | ||
| 3 | #include <cstdio> | ||
| 4 | |||
| 5 | #if FW_PORT_SERIALIZATION | ||
| 6 | |||
| 7 | namespace Fw { | ||
| 8 | |||
| 9 | // SerializePort has no call interface. It is to pass through serialized data | ||
| 10 | |||
| 11 | 1725 | OutputSerializePort::OutputSerializePort() : OutputPortBase() {} | |
| 12 | |||
| 13 | 3450 | OutputSerializePort::~OutputSerializePort() {} | |
| 14 | |||
| 15 | 1725 | void OutputSerializePort::init() { | |
| 16 | 1725 | OutputPortBase::init(); | |
| 17 | 1725 | } | |
| 18 | |||
| 19 | #if FW_OBJECT_TO_STRING == 1 | ||
| 20 | ✗ | const char* OutputSerializePort::getToStringFormatString() { | |
| 21 | ✗ | return "Output Serial Port: %s %s->(%s)"; | |
| 22 | } | ||
| 23 | #endif | ||
| 24 | |||
| 25 | } // namespace Fw | ||
| 26 | |||
| 27 | #endif // FW_PORT_SERIALIZATION | ||
| 28 |