Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::alarms::Event Struct Reference

#include <structs.hpp>

Collaboration diagram for iv::alarms::Event:
[legend]

Public Member Functions

 Event ()=default
 
 Event (std::string _tag, std::string _message, const iv::alarms::Alarm &_alarm, const bool _isPrinted=false)
 
 Event (const Event &other)=default
 
Eventoperator= (const Event &other)=default
 
bool operator== (const Event &other) const
 
bool operator< (const Event &other) const
 

Public Attributes

iv::types::channelId tag
 
std::string message
 
iv::alarms::Alarm alarm
 
bool isPrinted {false}
 

Friends

std::ostream & operator<< (std::ostream &os, const Event &event)
 

Constructor & Destructor Documentation

◆ Event() [1/3]

iv::alarms::Event::Event ( )
default

◆ Event() [2/3]

iv::alarms::Event::Event ( std::string _tag,
std::string _message,
const iv::alarms::Alarm & _alarm,
const bool _isPrinted = false )
inline

◆ Event() [3/3]

iv::alarms::Event::Event ( const Event & other)
default

Member Function Documentation

◆ operator<()

bool iv::alarms::Event::operator< ( const Event & other) const
inline

◆ operator=()

Event & iv::alarms::Event::operator= ( const Event & other)
default

◆ operator==()

bool iv::alarms::Event::operator== ( const Event & other) const
inline

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const Event & event )
friend

Member Data Documentation

◆ alarm

iv::alarms::Alarm iv::alarms::Event::alarm

◆ isPrinted

bool iv::alarms::Event::isPrinted {false}

◆ message

std::string iv::alarms::Event::message

◆ tag

iv::types::channelId iv::alarms::Event::tag

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