Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::comms::redundancy::RedundancyMessageProjectInfo Struct Referencefinal

#include <RedundancyMessageProjectInfo.hpp>

Inheritance diagram for iv::comms::redundancy::RedundancyMessageProjectInfo:
[legend]
Collaboration diagram for iv::comms::redundancy::RedundancyMessageProjectInfo:
[legend]

Classes

struct  Constants
 

Public Member Functions

 RedundancyMessageProjectInfo ()
 
void serializeSpecific (std::shared_ptr< iv::streams::OutputStreamMemory > &stream) const override
 
void deserializeSpecific (std::shared_ptr< iv::streams::InputStreamMemory > &stream) override
 
std::vector< std::byte > serialize () const final
 
bool deserialize (const std::vector< std::byte > &_bytes) final
 

Static Public Member Functions

static bool processProjectInfoMessage (const std::shared_ptr< RedundancyMessageProjectInfo > &message)
 
template<typename T >
requires std::is_base_of_v<ISerializable, T>
static std::vector< std::byte > serialize (const T &object)
 

Public Attributes

iv::types::timestamp timestamp {0}
 
std::string reference
 
std::string lastVersion
 
iv::comms::redundancy::eRedundancyMessageType type
 
iv::types::stationId station
 
iv::comms::eMessageDirection direction {iv::comms::eMessageDirection::Outgoing}
 
std::vector< std::byte > bytes
 

Constructor & Destructor Documentation

◆ RedundancyMessageProjectInfo()

iv::comms::redundancy::RedundancyMessageProjectInfo::RedundancyMessageProjectInfo ( )
inline

Member Function Documentation

◆ deserialize()

bool iv::comms::redundancy::AbstractRedundancyMessage::deserialize ( const std::vector< std::byte > & _bytes)
nodiscardfinalvirtualinherited

◆ deserializeSpecific()

void iv::comms::redundancy::RedundancyMessageProjectInfo::deserializeSpecific ( std::shared_ptr< iv::streams::InputStreamMemory > & stream)
overridevirtual

◆ processProjectInfoMessage()

bool iv::comms::redundancy::RedundancyMessageProjectInfo::processProjectInfoMessage ( const std::shared_ptr< RedundancyMessageProjectInfo > & message)
static

◆ serialize() [1/2]

std::vector< std::byte > iv::comms::redundancy::AbstractRedundancyMessage::serialize ( ) const
nodiscardfinalvirtualinherited

◆ serialize() [2/2]

template<typename T >
requires std::is_base_of_v<ISerializable, T>
static std::vector< std::byte > iv::core::ISerializable::serialize ( const T & object)
inlinestaticinherited

◆ serializeSpecific()

void iv::comms::redundancy::RedundancyMessageProjectInfo::serializeSpecific ( std::shared_ptr< iv::streams::OutputStreamMemory > & stream) const
overridevirtual

Member Data Documentation

◆ bytes

std::vector<std::byte> iv::comms::IMessageComm::bytes
inherited

◆ direction

iv::comms::eMessageDirection iv::comms::redundancy::AbstractRedundancyMessage::direction {iv::comms::eMessageDirection::Outgoing}
inherited

◆ lastVersion

std::string iv::comms::redundancy::RedundancyMessageProjectInfo::lastVersion

◆ reference

std::string iv::comms::redundancy::RedundancyMessageProjectInfo::reference

◆ station

iv::types::stationId iv::comms::redundancy::AbstractRedundancyMessage::station
inherited

◆ timestamp

iv::types::timestamp iv::comms::redundancy::RedundancyMessageProjectInfo::timestamp {0}

◆ type

iv::comms::redundancy::eRedundancyMessageType iv::comms::redundancy::AbstractRedundancyMessage::type
inherited

The documentation for this struct was generated from the following files: