Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus Struct Referencefinal

#include <WatchcallNTMessageUpdateNodeStatus.hpp>

Inheritance diagram for iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus:
[legend]
Collaboration diagram for iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus:
[legend]

Public Member Functions

 WatchcallNTMessageUpdateNodeStatus ()
 
 ~WatchcallNTMessageUpdateNodeStatus () override=default
 
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 override
 
bool deserialize (const std::vector< std::byte > &data) override
 

Static Public Member Functions

static bool processUpdateNodeStatusMessage (const std::shared_ptr< WatchcallNTMessageUpdateNodeStatus > &message, const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > &appFailures, 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::alarms::watchcallNodeStatus nodeStatus
 
iv::types::timestamp timestamp
 
iv::comms::watchcallNT::eWatchcallNTMessageType type
 
iv::types::stationId nodeStationId
 
std::vector< std::byte > bytes
 

Constructor & Destructor Documentation

◆ WatchcallNTMessageUpdateNodeStatus()

iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus::WatchcallNTMessageUpdateNodeStatus ( )
inline

◆ ~WatchcallNTMessageUpdateNodeStatus()

iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus::~WatchcallNTMessageUpdateNodeStatus ( )
overridedefault

Member Function Documentation

◆ deserialize()

bool iv::comms::watchcallNT::AbstractWatchcallNTMessage::deserialize ( const std::vector< std::byte > & data)
nodiscardoverridevirtualinherited

◆ deserializeSpecific()

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

◆ processUpdateNodeStatusMessage()

bool iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus::processUpdateNodeStatusMessage ( const std::shared_ptr< WatchcallNTMessageUpdateNodeStatus > & message,
const std::weak_ptr< iv::diamar::AppFailuresLoggerManager > & appFailures,
iv::types::networkId & networkId )
static

◆ serialize() [1/2]

std::vector< std::byte > iv::comms::watchcallNT::AbstractWatchcallNTMessage::serialize ( ) const
nodiscardoverridevirtualinherited

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

Member Data Documentation

◆ bytes

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

◆ nodeStationId

iv::types::stationId iv::comms::watchcallNT::AbstractWatchcallNTMessage::nodeStationId
inherited

◆ nodeStatus

iv::alarms::watchcallNodeStatus iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus::nodeStatus

◆ timestamp

iv::types::timestamp iv::comms::watchcallNT::WatchcallNTMessageUpdateNodeStatus::timestamp

◆ type

iv::comms::watchcallNT::eWatchcallNTMessageType iv::comms::watchcallNT::AbstractWatchcallNTMessage::type
inherited

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