7 #ifndef Svc_VersionPortAc_HPP 8 #define Svc_VersionPortAc_HPP 16 #if !FW_DIRECT_PORT_CALLS 135 #if !FW_DIRECT_PORT_CALLS 195 #if FW_PORT_SERIALIZATION == 1 void init()
Initialization function.
PlatformSizeType FwSizeType
void invoke(const Svc::VersionCfg::VersionEnum &version_id, Fw::StringBase &version_string, Svc::VersionStatus &status) const
Invoke a port connection.
Fw::ExternalString m_version_string
VersionPortSerializer()
Constructor.
Svc::VersionStatus m_status
SerializeStatus
forward declaration for string
An enumeration for version status.
static constexpr FwSizeType CAPACITY
const U8 * getBuffAddr() const override
A string backed by an external buffer.
uint8_t U8
8-bit unsigned integer
U8 * getBuffAddr() override
The size of the serial representation.
Fw::Serializable::SizeType getCapacity() const override
PlatformIndexType FwIndexType
The size of the serial representation.
RateGroupDivider component implementation.
Svc::VersionCfg::VersionEnum m_version_id
static constexpr SizeType STATIC_SERIALIZED_SIZE(SizeType maxLength)
static constexpr SizeType BUFFER_SIZE(SizeType maxLength)
Get the size of a null-terminated string buffer.
void addCallPort(InputVersionPort *callPort)
Register an input port.
Fw::SerializeStatus deserializePortArgs(Fw::SerialBufferBase &_buffer)
Deserialze port arguments into members.
OutputVersionPort()
Constructor.
static Fw::SerializeStatus serializePortArgs(const Svc::VersionCfg::VersionEnum &version_id, Fw::StringBase &version_string, Svc::VersionStatus &status, Fw::SerialBufferBase &_buffer)
Serialize port arguments into a buffer.