libdrmconf  0.10.4
A library to program DMR radios.
Public Types | Public Member Functions | Protected Attributes | List of all members
RadioLimitIssue Class Reference

Represents a single issue found during verification. More...

#include <radiolimits.hh>

Inheritance diagram for RadioLimitIssue:
Inheritance graph
[legend]
Collaboration diagram for RadioLimitIssue:
Collaboration graph
[legend]

Public Types

enum  Severity { Silent , Hint , Warning , Critical }
 Defines the possible severity levels. More...
 

Public Member Functions

 RadioLimitIssue (Severity severity, const QStringList &stack)
 Constructs an empty message for the specified severity at the specified point of the verification.
 
 RadioLimitIssue (const RadioLimitIssue &other)
 Copy constructor.
 
RadioLimitIssueoperator= (const RadioLimitIssue &other)
 Copy assignment.
 
RadioLimitIssueoperator= (const QString &message)
 Set message.
 
Severity severity () const
 Returns the severity of the issue.
 
const QString & message () const
 Returns the text message.
 
QString format () const
 Formats the message.
 

Protected Attributes

Severity _severity
 Holds the severity of the issue.
 
QStringList _stack
 Holds the item-stack (where the issue occurred).
 
QString _message
 Holds the text message.
 

Detailed Description

Represents a single issue found during verification.

Member Enumeration Documentation

◆ Severity

Defines the possible severity levels.

Enumerator
Silent 

The user will not be notified.

Hint 

Just a hint, a working codplug will be assembled.

Warning 

The codeplug gets changed but a working codeplug might be assembled.

Critical 

Assembly of the codeplug will fail or a non-functional codeplug might be created.


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