Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::comms::redundancy::RedundancyMessageRequestChannelDownload Class Reference

#include <RedundancyMessageRequestChannelDownload.hpp>

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

Public Member Functions

 RedundancyMessageRequestChannelDownload ()
 
 RedundancyMessageRequestChannelDownload (std::shared_ptr< iv::channels::AbstractChannel > channel, iv::types::stationId stationId)
 
 ~RedundancyMessageRequestChannelDownload () override=default
 
void setStationInChargeOfDownload (const iv::types::stationId &stationId)
 
iv::types::stationId getStationInChargeOfDownload () const
 
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 void processRedundancyMessageRequestDownload (const std::shared_ptr< RedundancyMessageRequestChannelDownload > &message, const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > &appFailuresLoggerManager, iv::types::networkId networkId)
 
static bool processDownloadChannelMessage (const std::shared_ptr< RedundancyMessageChannelDownloaded > &message, const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > &appFailuresLoggerManager, const iv::types::networkId networkId)
 
template<typename T >
requires std::is_base_of_v<ISerializable, T>
static std::vector< std::byte > serialize (const T &object)
 

Public Attributes

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

Protected Attributes

iv::types::channelId tag
 
iv::channels::eChannelArea area
 
bool alarmEnabled
 
iv::types::delay alarmActivationDelay
 
iv::types::delay alarmDeactivationDelay
 
bool offscan
 
iv::types::groupId groupId
 
iv::types::channelId inhTag
 
iv::channels::eInhibitionCondition inhCondition
 
iv::channels::eChannelBaseType baseType
 
iv::types::milliseconds deinitTimeout
 
bool inverted
 
iv::types::delay delayOn
 
iv::types::delay delayOff
 
iv::channels::eDigitalValue alarmLimit
 
iv::channels::eAnalogSensorType sensorType
 
iv::eMeasurementUnit engineeringUnits
 
iv::types::channelValue sensorLow
 
iv::types::channelValue sensorHigh
 
iv::types::channelValue lowEngineeringLimit
 
iv::types::channelValue highEngineeringLimit
 
iv::types::channelValue offset
 
iv::types::channelValue factor
 
iv::types::channelValue deadBand
 
uint8_t numberOfDecimals
 
iv::types::channelValue alarmLow
 
bool hasAlarmLow
 
iv::types::channelValue alarmLowLow
 
bool hasAlarmLowLow
 
iv::types::channelValue alarmHigh
 
bool hasAlarmHigh
 
iv::types::channelValue alarmHighHigh
 
bool hasAlarmHighHigh
 
bool instrumentFailureHigh
 
bool instrumentFailureLow
 

Private Attributes

iv::types::stationId stationInChargeOfDownload
 

Constructor & Destructor Documentation

◆ RedundancyMessageRequestChannelDownload() [1/2]

iv::comms::redundancy::RedundancyMessageRequestChannelDownload::RedundancyMessageRequestChannelDownload ( )
inline

◆ RedundancyMessageRequestChannelDownload() [2/2]

iv::comms::redundancy::RedundancyMessageRequestChannelDownload::RedundancyMessageRequestChannelDownload ( std::shared_ptr< iv::channels::AbstractChannel > channel,
iv::types::stationId stationId )
inline

◆ ~RedundancyMessageRequestChannelDownload()

iv::comms::redundancy::RedundancyMessageRequestChannelDownload::~RedundancyMessageRequestChannelDownload ( )
overridedefault

Member Function Documentation

◆ deserialize()

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

◆ deserializeSpecific()

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

◆ getStationInChargeOfDownload()

iv::types::stationId iv::comms::redundancy::RedundancyMessageRequestChannelDownload::getStationInChargeOfDownload ( ) const
inlinenodiscard

◆ processDownloadChannelMessage()

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::processDownloadChannelMessage ( const std::shared_ptr< RedundancyMessageChannelDownloaded > & message,
const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > & appFailuresLoggerManager,
const iv::types::networkId networkId )
staticinherited

◆ processRedundancyMessageRequestDownload()

void iv::comms::redundancy::RedundancyMessageRequestChannelDownload::processRedundancyMessageRequestDownload ( const std::shared_ptr< RedundancyMessageRequestChannelDownload > & message,
const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > & appFailuresLoggerManager,
iv::types::networkId networkId )
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::RedundancyMessageRequestChannelDownload::serializeSpecific ( std::shared_ptr< iv::streams::OutputStreamMemory > & stream) const
overridevirtual

◆ setStationInChargeOfDownload()

void iv::comms::redundancy::RedundancyMessageRequestChannelDownload::setStationInChargeOfDownload ( const iv::types::stationId & stationId)
inline

Member Data Documentation

◆ alarmActivationDelay

iv::types::delay iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmActivationDelay
protectedinherited

◆ alarmDeactivationDelay

iv::types::delay iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmDeactivationDelay
protectedinherited

◆ alarmEnabled

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmEnabled
protectedinherited

◆ alarmHigh

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmHigh
protectedinherited

◆ alarmHighHigh

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmHighHigh
protectedinherited

◆ alarmLimit

iv::channels::eDigitalValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmLimit
protectedinherited

◆ alarmLow

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmLow
protectedinherited

◆ alarmLowLow

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmLowLow
protectedinherited

◆ area

iv::channels::eChannelArea iv::comms::redundancy::RedundancyMessageChannelDownloaded::area
protectedinherited

◆ baseType

iv::channels::eChannelBaseType iv::comms::redundancy::RedundancyMessageChannelDownloaded::baseType
protectedinherited

◆ bytes

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

◆ deadBand

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::deadBand
protectedinherited

◆ deinitTimeout

iv::types::milliseconds iv::comms::redundancy::RedundancyMessageChannelDownloaded::deinitTimeout
protectedinherited

◆ delayOff

iv::types::delay iv::comms::redundancy::RedundancyMessageChannelDownloaded::delayOff
protectedinherited

◆ delayOn

iv::types::delay iv::comms::redundancy::RedundancyMessageChannelDownloaded::delayOn
protectedinherited

◆ direction

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

◆ engineeringUnits

iv::eMeasurementUnit iv::comms::redundancy::RedundancyMessageChannelDownloaded::engineeringUnits
protectedinherited

◆ factor

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::factor
protectedinherited

◆ groupId

iv::types::groupId iv::comms::redundancy::RedundancyMessageChannelDownloaded::groupId
protectedinherited

◆ hasAlarmHigh

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmHigh
protectedinherited

◆ hasAlarmHighHigh

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmHighHigh
protectedinherited

◆ hasAlarmLow

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmLow
protectedinherited

◆ hasAlarmLowLow

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmLowLow
protectedinherited

◆ highEngineeringLimit

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::highEngineeringLimit
protectedinherited

◆ inhCondition

iv::channels::eInhibitionCondition iv::comms::redundancy::RedundancyMessageChannelDownloaded::inhCondition
protectedinherited

◆ inhTag

iv::types::channelId iv::comms::redundancy::RedundancyMessageChannelDownloaded::inhTag
protectedinherited

◆ instrumentFailureHigh

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::instrumentFailureHigh
protectedinherited

◆ instrumentFailureLow

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::instrumentFailureLow
protectedinherited

◆ inverted

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::inverted
protectedinherited

◆ lowEngineeringLimit

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::lowEngineeringLimit
protectedinherited

◆ numberOfDecimals

uint8_t iv::comms::redundancy::RedundancyMessageChannelDownloaded::numberOfDecimals
protectedinherited

◆ offscan

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::offscan
protectedinherited

◆ offset

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::offset
protectedinherited

◆ sensorHigh

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::sensorHigh
protectedinherited

◆ sensorLow

iv::types::channelValue iv::comms::redundancy::RedundancyMessageChannelDownloaded::sensorLow
protectedinherited

◆ sensorType

iv::channels::eAnalogSensorType iv::comms::redundancy::RedundancyMessageChannelDownloaded::sensorType
protectedinherited

◆ station

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

◆ stationInChargeOfDownload

iv::types::stationId iv::comms::redundancy::RedundancyMessageRequestChannelDownload::stationInChargeOfDownload
private

◆ tag

iv::types::channelId iv::comms::redundancy::RedundancyMessageChannelDownloaded::tag
protectedinherited

◆ type

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

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