Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <ProjectSynchronization.hpp>
Classes | |
struct | Constants |
struct | SyncStationsInfo |
Public Member Functions | |
ProjectSynchronization (const ProjectSynchronization &other)=delete | |
ProjectSynchronization (ProjectSynchronization &&other)=delete | |
~ProjectSynchronization ()=default | |
ProjectSynchronization & | operator= (const ProjectSynchronization &other)=delete |
ProjectSynchronization & | operator= (ProjectSynchronization &&other)=delete |
Static Public Member Functions | |
static std::unique_ptr< iv::comms::ProjectSynchronization > & | create () |
static bool | sendProjectInfoMessage () |
static bool | sendProjectRequestMessage (const iv::types::stationId &station) |
static bool | sendProject (const iv::types::stationId &station, iv::comms::redundancy::eProjectSyncronizationFile fileType) |
static bool | processProjectInfoMessage (const std::shared_ptr< iv::comms::redundancy::RedundancyMessageProjectInfo > &message) |
static bool | processProjectRequestMessage (const std::shared_ptr< iv::comms::redundancy::RedundancyMessageProjectRequest > &message) |
static bool | processProjectResponseMessage (const std::shared_ptr< iv::comms::redundancy::RedundancyMessageProjectResponse > &message) |
Private Member Functions | |
ProjectSynchronization () | |
Static Private Member Functions | |
static bool | prvSendMessage (const std::vector< std::byte > &message, const iv::model::comms::net::IpSettings &ipSettings) |
static bool | prvSendFile (std::string_view projectFolder, std::string_view filePath, iv::comms::redundancy::eProjectSyncronizationFile fileType, const iv::model::comms::net::IpSettings &ipSettings) |
Private Attributes | |
std::vector< std::weak_ptr< iv::comms::ip::IPCommunicationDriver > > | m_redundancyDrivers |
std::map< iv::types::stationId, iv::model::comms::net::IpSettings > | m_peerStationsIps |
std::map< iv::types::stationId, SyncStationsInfo > | m_stationsSyncInfo |
iv::types::stationId | m_station |
Static Private Attributes | |
static std::unique_ptr< iv::comms::ProjectSynchronization > | instance {nullptr} |
|
delete |
|
delete |
|
default |
|
private |
|
static |
|
delete |
|
delete |
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
static |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |