RDK Documentation (Open Sourced RDK Components)
AnomalyReportEvent Class Reference

Class for the Anomaly Report Event. More...

#include <AampEvent.h>

Inheritance diagram for AnomalyReportEvent:
Inheritance graph
Collaboration diagram for AnomalyReportEvent:
Collaboration graph

Public Member Functions

 AnomalyReportEvent ()=delete
 
 AnomalyReportEvent (const AnomalyReportEvent &)=delete
 
AnomalyReportEventoperator= (const AnomalyReportEvent &)=delete
 
 AnomalyReportEvent (int severity, const std::string &msg)
 AnomalyReportEvent Constructor.
 
virtual ~AnomalyReportEvent ()
 AnomalyReportEvent Destructor.
 
int getSeverity () const
 Get Severity. More...
 
const std::string & getMessage () const
 Get Anomaly Message. More...
 
- Public Member Functions inherited from AAMPEventObject
 AAMPEventObject (const AAMPEventObject &)=delete
 Copy constructor disabled. More...
 
AAMPEventObjectoperator= (const AAMPEventObject &)=delete
 assignment operator disabled More...
 
 AAMPEventObject (AAMPEventType type)
 AAMPEventObject Constructor.
 
virtual ~AAMPEventObject ()
 AAMPEvent Destructor.
 
AAMPEventType getType () const
 Get Event Type. More...
 

Private Attributes

int mSeverity
 
std::string mMsg
 

yes

Class for the Anomaly Report Event.

Definition at line 1547 of file AampEvent.h.

Constructor & Destructor Documentation

◆ AnomalyReportEvent()

AnomalyReportEvent::AnomalyReportEvent ( )
delete
Parameters
[in]severity- Severity of message
[in]msg- Anomaly message

Member Function Documentation

◆ getSeverity()

int AnomalyReportEvent::getSeverity ( ) const

Get Severity.

Returns
Severity value

Definition at line 1044 of file AampEvent.cpp.

◆ getMessage()

AnomalyReportEvent::getMessage ( ) const

Get Anomaly Message.

Returns
Anomaly message string

Definition at line 1054 of file AampEvent.cpp.

Field Documentation

◆ mSeverity

int AnomalyReportEvent::mSeverity
private

informative number indicates severity of msg, e.g Warning, Error, Trace etc

Definition at line 1549 of file AampEvent.h.

◆ mMsg

std::string AnomalyReportEvent::mMsg
private

Anomaly message

Definition at line 1550 of file AampEvent.h.


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