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

#include <RedundancyMessageChannelDownloaded.hpp>

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

Public Member Functions

 RedundancyMessageChannelDownloaded ()
 
 RedundancyMessageChannelDownloaded (const std::shared_ptr< iv::channels::AbstractChannel > &channel, eRedundancyMessageType type_=eRedundancyMessageType::ChannelDownloaded)
 
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 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 Member Functions

 RedundancyMessageChannelDownloaded (const eRedundancyMessageType _type)
 

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
 

Constructor & Destructor Documentation

◆ RedundancyMessageChannelDownloaded() [1/3]

iv::comms::redundancy::RedundancyMessageChannelDownloaded::RedundancyMessageChannelDownloaded ( )
inline

◆ RedundancyMessageChannelDownloaded() [2/3]

iv::comms::redundancy::RedundancyMessageChannelDownloaded::RedundancyMessageChannelDownloaded ( const std::shared_ptr< iv::channels::AbstractChannel > & channel,
eRedundancyMessageType type_ = eRedundancyMessageType::ChannelDownloaded )
explicit

◆ RedundancyMessageChannelDownloaded() [3/3]

iv::comms::redundancy::RedundancyMessageChannelDownloaded::RedundancyMessageChannelDownloaded ( const eRedundancyMessageType _type)
inlineprotected

Member Function Documentation

◆ deserialize()

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

◆ deserializeSpecific()

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

◆ 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 )
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::RedundancyMessageChannelDownloaded::serializeSpecific ( std::shared_ptr< iv::streams::OutputStreamMemory > & stream) const
overridevirtual

Member Data Documentation

◆ alarmActivationDelay

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

◆ alarmDeactivationDelay

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

◆ alarmEnabled

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::alarmEnabled
protected

◆ alarmHigh

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

◆ alarmHighHigh

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

◆ alarmLimit

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

◆ alarmLow

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

◆ alarmLowLow

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

◆ area

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

◆ baseType

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

◆ bytes

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

◆ deadBand

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

◆ deinitTimeout

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

◆ delayOff

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

◆ delayOn

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

◆ direction

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

◆ engineeringUnits

iv::eMeasurementUnit iv::comms::redundancy::RedundancyMessageChannelDownloaded::engineeringUnits
protected

◆ factor

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

◆ groupId

iv::types::groupId iv::comms::redundancy::RedundancyMessageChannelDownloaded::groupId
protected

◆ hasAlarmHigh

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmHigh
protected

◆ hasAlarmHighHigh

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmHighHigh
protected

◆ hasAlarmLow

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmLow
protected

◆ hasAlarmLowLow

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::hasAlarmLowLow
protected

◆ highEngineeringLimit

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

◆ inhCondition

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

◆ inhTag

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

◆ instrumentFailureHigh

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::instrumentFailureHigh
protected

◆ instrumentFailureLow

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::instrumentFailureLow
protected

◆ inverted

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::inverted
protected

◆ lowEngineeringLimit

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

◆ numberOfDecimals

uint8_t iv::comms::redundancy::RedundancyMessageChannelDownloaded::numberOfDecimals
protected

◆ offscan

bool iv::comms::redundancy::RedundancyMessageChannelDownloaded::offscan
protected

◆ offset

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

◆ sensorHigh

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

◆ sensorLow

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

◆ sensorType

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

◆ station

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

◆ tag

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

◆ type

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

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