libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
RadioLimitIssue Class Reference

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

#include <radiolimits.hh>

Inheritance diagram for RadioLimitIssue:
Collaboration diagram for RadioLimitIssue:

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:
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/radiolimits.hh
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/radiolimits.cc