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

#include <RedundancyMessageProjectResponse.hpp>

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

Public Member Functions

 RedundancyMessageProjectResponse ()
 
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 processProjectResponseMessage (const std::shared_ptr< RedundancyMessageProjectResponse > &message)
 
template<typename T >
requires std::is_base_of_v<ISerializable, T>
static std::vector< std::byte > serialize (const T &object)
 

Public Attributes

eProjectSyncronizationFile fileType {eProjectSyncronizationFile::Project}
 
std::string relativePath
 
std::string fileContent
 
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

◆ RedundancyMessageProjectResponse()

iv::comms::redundancy::RedundancyMessageProjectResponse::RedundancyMessageProjectResponse ( )
inline

Member Function Documentation

◆ deserialize()

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

◆ deserializeSpecific()

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

◆ processProjectResponseMessage()

bool iv::comms::redundancy::RedundancyMessageProjectResponse::processProjectResponseMessage ( const std::shared_ptr< RedundancyMessageProjectResponse > & 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::RedundancyMessageProjectResponse::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

◆ fileContent

std::string iv::comms::redundancy::RedundancyMessageProjectResponse::fileContent

◆ fileType

eProjectSyncronizationFile iv::comms::redundancy::RedundancyMessageProjectResponse::fileType {eProjectSyncronizationFile::Project}

◆ relativePath

std::string iv::comms::redundancy::RedundancyMessageProjectResponse::relativePath

◆ station

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

◆ type

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

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