Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::model::TimeSyncSettings Struct Reference

#include <structs.hpp>

Collaboration diagram for iv::model::TimeSyncSettings:
[legend]

Classes

struct  DefaultValues
 
struct  Keys
 
struct  Sections
 

Public Member Functions

 TimeSyncSettings ()
 
 TimeSyncSettings (const TimeSyncSettings &other)=default
 
 TimeSyncSettings (TimeSyncSettings &&other) noexcept=default
 
 ~TimeSyncSettings ()=default
 
TimeSyncSettingsoperator= (const TimeSyncSettings &other)=default
 
TimeSyncSettingsoperator= (TimeSyncSettings &&other) noexcept=default
 
std::optional< iv::types::timestampgetTimestamp () const
 
std::optional< int32_t > getTimeZoneOffset () const
 
bool load (const iv::file::xml::node &nodeTimeSyncSettings)
 
bool save (iv::file::xml::node &nodeTimeSyncSettings) const
 

Public Attributes

bool hasTimeZoneSync
 
iv::types::channelId timeZoneChannelId {}
 
bool hasTimeSync
 
iv::types::milliseconds maxTimeDifference {DefaultValues::maxTimeDifference}
 
iv::model::eTimeSyncFormat timeSyncFormat
 
PosixTimeFormat posixTimeFormat
 
RMCLikeFormat rmcLikeFormat
 
ZDALikeFormat zdaLikeFormat
 

Constructor & Destructor Documentation

◆ TimeSyncSettings() [1/3]

iv::model::TimeSyncSettings::TimeSyncSettings ( )

◆ TimeSyncSettings() [2/3]

iv::model::TimeSyncSettings::TimeSyncSettings ( const TimeSyncSettings & other)
default

◆ TimeSyncSettings() [3/3]

iv::model::TimeSyncSettings::TimeSyncSettings ( TimeSyncSettings && other)
defaultnoexcept

◆ ~TimeSyncSettings()

iv::model::TimeSyncSettings::~TimeSyncSettings ( )
default

Member Function Documentation

◆ getTimestamp()

std::optional< iv::types::timestamp > iv::model::TimeSyncSettings::getTimestamp ( ) const

◆ getTimeZoneOffset()

std::optional< int32_t > iv::model::TimeSyncSettings::getTimeZoneOffset ( ) const

◆ load()

bool iv::model::TimeSyncSettings::load ( const iv::file::xml::node & nodeTimeSyncSettings)

◆ operator=() [1/2]

TimeSyncSettings & iv::model::TimeSyncSettings::operator= ( const TimeSyncSettings & other)
default

◆ operator=() [2/2]

TimeSyncSettings & iv::model::TimeSyncSettings::operator= ( TimeSyncSettings && other)
defaultnoexcept

◆ save()

bool iv::model::TimeSyncSettings::save ( iv::file::xml::node & nodeTimeSyncSettings) const

Member Data Documentation

◆ hasTimeSync

bool iv::model::TimeSyncSettings::hasTimeSync

◆ hasTimeZoneSync

bool iv::model::TimeSyncSettings::hasTimeZoneSync

◆ maxTimeDifference

iv::types::milliseconds iv::model::TimeSyncSettings::maxTimeDifference {DefaultValues::maxTimeDifference}

◆ posixTimeFormat

PosixTimeFormat iv::model::TimeSyncSettings::posixTimeFormat

◆ rmcLikeFormat

RMCLikeFormat iv::model::TimeSyncSettings::rmcLikeFormat

◆ timeSyncFormat

iv::model::eTimeSyncFormat iv::model::TimeSyncSettings::timeSyncFormat

◆ timeZoneChannelId

iv::types::channelId iv::model::TimeSyncSettings::timeZoneChannelId {}

◆ zdaLikeFormat

ZDALikeFormat iv::model::TimeSyncSettings::zdaLikeFormat

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