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

#include <WatchcallNTMessageSoundOffCommand.hpp>

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

Public Member Functions

 WatchcallNTMessageSoundOffCommand ()
 
 ~WatchcallNTMessageSoundOffCommand () 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 processSoundOffCommandMessage (const std::shared_ptr< WatchcallNTMessageSoundOffCommand > &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::types::timestamp soundOffBaseTime
 
iv::comms::watchcallNT::eWatchcallNTMessageType type
 
iv::types::stationId nodeStationId
 
std::vector< std::byte > bytes
 

Constructor & Destructor Documentation

◆ WatchcallNTMessageSoundOffCommand()

iv::comms::watchcallNT::WatchcallNTMessageSoundOffCommand::WatchcallNTMessageSoundOffCommand ( )
inline

◆ ~WatchcallNTMessageSoundOffCommand()

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

Member Function Documentation

◆ deserialize()

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

◆ deserializeSpecific()

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

◆ processSoundOffCommandMessage()

bool iv::comms::watchcallNT::WatchcallNTMessageSoundOffCommand::processSoundOffCommandMessage ( const std::shared_ptr< WatchcallNTMessageSoundOffCommand > & 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::WatchcallNTMessageSoundOffCommand::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

◆ soundOffBaseTime

iv::types::timestamp iv::comms::watchcallNT::WatchcallNTMessageSoundOffCommand::soundOffBaseTime

◆ type

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

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