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

#include <RedundancyMessagePmsModeTransitionInfo.hpp>

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

Public Member Functions

 RedundancyMessagePmsModeTransitionInfo ()
 
 RedundancyMessagePmsModeTransitionInfo (bool isRunning, iv::types::pms::modeId modeToReachId, iv::mimics::elements::eOperationModeState modeState)
 
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 processPmsModeTransitionInfo (const std::shared_ptr< RedundancyMessagePmsModeTransitionInfo > &message)
 
template<typename T >
requires std::is_base_of_v<ISerializable, T>
static std::vector< std::byte > serialize (const T &object)
 

Public Attributes

bool m_isRunning {}
 
iv::types::pms::modeId m_modeToReachId {}
 
iv::mimics::elements::eOperationModeState m_modeState {}
 
iv::comms::redundancy::eRedundancyMessageType type
 
iv::types::stationId station
 
iv::comms::eMessageDirection direction {iv::comms::eMessageDirection::Outgoing}
 
std::vector< std::byte > bytes
 

Constructor & Destructor Documentation

◆ RedundancyMessagePmsModeTransitionInfo() [1/2]

iv::comms::redundancy::RedundancyMessagePmsModeTransitionInfo::RedundancyMessagePmsModeTransitionInfo ( )
inline

◆ RedundancyMessagePmsModeTransitionInfo() [2/2]

iv::comms::redundancy::RedundancyMessagePmsModeTransitionInfo::RedundancyMessagePmsModeTransitionInfo ( bool isRunning,
iv::types::pms::modeId modeToReachId,
iv::mimics::elements::eOperationModeState modeState )
inline

Member Function Documentation

◆ deserialize()

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

◆ deserializeSpecific()

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

◆ processPmsModeTransitionInfo()

bool iv::comms::redundancy::RedundancyMessagePmsModeTransitionInfo::processPmsModeTransitionInfo ( const std::shared_ptr< RedundancyMessagePmsModeTransitionInfo > & message)
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::RedundancyMessagePmsModeTransitionInfo::serializeSpecific ( std::shared_ptr< iv::streams::OutputStreamMemory > & stream) const
overridevirtual

Member Data Documentation

◆ bytes

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

◆ direction

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

◆ m_isRunning

bool iv::comms::redundancy::RedundancyMessagePmsModeTransitionInfo::m_isRunning {}

◆ m_modeState

iv::mimics::elements::eOperationModeState iv::comms::redundancy::RedundancyMessagePmsModeTransitionInfo::m_modeState {}

◆ m_modeToReachId

iv::types::pms::modeId iv::comms::redundancy::RedundancyMessagePmsModeTransitionInfo::m_modeToReachId {}

◆ station

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

◆ type

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

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