Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <RedundancyMessageChannel.hpp>
Public Member Functions | |
RedundancyMessageChannel () | |
RedundancyMessageChannel (iv::types::networkId network, iv::types::unitId unit, iv::types::channelId channel, iv::channels::Value value, iv::alarms::Alarm alarm, eChannelMessageType messageType) | |
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 | processChannelMessage (const std::shared_ptr< RedundancyMessageChannel > &message, const std::map< iv::types::channelId, std::shared_ptr< iv::channels::AbstractChannel > > &channels, const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > &appFailuresLoggerManager, const iv::types::networkId &networkId) |
static std::optional< iv::types::stationId > | isCommunicationError (const std::shared_ptr< RedundancyMessageChannel > &message) |
template<typename T > requires std::is_base_of_v<ISerializable, T> | |
static std::vector< std::byte > | serialize (const T &object) |
|
inline |
iv::comms::redundancy::RedundancyMessageChannel::RedundancyMessageChannel | ( | iv::types::networkId | network, |
iv::types::unitId | unit, | ||
iv::types::channelId | channel, | ||
iv::channels::Value | value, | ||
iv::alarms::Alarm | alarm, | ||
eChannelMessageType | messageType ) |
|
nodiscardfinalvirtualinherited |
Implements iv::comms::IMessageComm.
|
overridevirtual |
Implements iv::comms::redundancy::AbstractRedundancyMessage.
|
static |
|
static |
|
nodiscardfinalvirtualinherited |
Implements iv::comms::IMessageComm.
|
inlinestaticinherited |
|
overridevirtual |
Implements iv::comms::redundancy::AbstractRedundancyMessage.
|
inherited |
|
inherited |
iv::alarms::Alarm iv::comms::redundancy::RedundancyMessageChannel::m_alarm {} |
iv::types::channelId iv::comms::redundancy::RedundancyMessageChannel::m_channel |
eChannelMessageType iv::comms::redundancy::RedundancyMessageChannel::m_messageType {eChannelMessageType::Periodic} |
iv::types::networkId iv::comms::redundancy::RedundancyMessageChannel::m_network |
iv::types::unitId iv::comms::redundancy::RedundancyMessageChannel::m_unit {} |
iv::channels::Value iv::comms::redundancy::RedundancyMessageChannel::m_value {} |
|
inherited |
|
inherited |