mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
* Format Fw and add to CI * Fix include of HPP file instead of H in extern C * Fix format strings
34 lines
735 B
C++
34 lines
735 B
C++
#ifndef FW_OUTPUT_SERIALIZE_PORT_HPP
|
|
#define FW_OUTPUT_SERIALIZE_PORT_HPP
|
|
|
|
#include <Fw/FPrimeBasicTypes.hpp>
|
|
|
|
#if FW_PORT_SERIALIZATION == 1
|
|
|
|
#include <Fw/Port/OutputPortBase.hpp>
|
|
|
|
namespace Fw {
|
|
|
|
class OutputSerializePort final : public OutputPortBase {
|
|
public:
|
|
OutputSerializePort();
|
|
virtual ~OutputSerializePort();
|
|
void init() override;
|
|
|
|
protected:
|
|
#if FW_OBJECT_TO_STRING == 1
|
|
const char* getToStringFormatString() override; //!< Get format string for toString call
|
|
#endif
|
|
|
|
private:
|
|
OutputSerializePort(OutputSerializePort*);
|
|
OutputSerializePort(OutputSerializePort&);
|
|
OutputSerializePort& operator=(OutputSerializePort&);
|
|
};
|
|
|
|
} // namespace Fw
|
|
|
|
#endif // FW_OUTPUT_SERIALIZE_PORT_HPP
|
|
|
|
#endif
|