libdrmconf 0.14.1
A library to program DMR radios.
Loading...
Searching...
No Matches
RadioLimitInterval Class Reference

Represents a limit on intervals. More...

#include <radiolimits.hh>

Inheritance diagram for RadioLimitInterval:
Collaboration diagram for RadioLimitInterval:

Public Member Functions

 RadioLimitInterval (RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr)
 Empty constructor.
 RadioLimitInterval (const Range< Interval > &range, RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr)
 Constructor from range.
bool verify (const ConfigItem *item, const QMetaProperty &prop, RadioLimitContext &context) const
 Verifies the given property of the specified item.
Public Member Functions inherited from RadioLimitElement
virtual ~RadioLimitElement ()
 Destructor.

Protected Attributes

Range< Interval_durations
 Holds the duration ranges for the interval.
Protected Attributes inherited from RadioLimitValue
RadioLimitIssue::Severity _severity
 The severity of the issue, if the test fails.

Additional Inherited Members

Public Types inherited from RadioLimitElement
typedef std::initializer_list< std::pair< QString, RadioLimitElement * > > PropList
 Initializer lists of ConfigItem properties.
Protected Member Functions inherited from RadioLimitValue
 RadioLimitValue (RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Hint, QObject *parent=nullptr)
 Hidden constructor.
Protected Member Functions inherited from RadioLimitElement
 RadioLimitElement (QObject *parent=nullptr)
 Hidden constructor.

Detailed Description

Represents a limit on intervals.

Member Function Documentation

◆ verify()

bool RadioLimitInterval::verify ( const ConfigItem * item,
const QMetaProperty & prop,
RadioLimitContext & context ) const
virtual

Verifies the given property of the specified item.

This method gets implemented by the specialized classes to implement the actual verification.

Implements RadioLimitElement.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.14.1-build/qdmr-0.14.1/lib/radiolimits.hh
  • /builddir/build/BUILD/qdmr-0.14.1-build/qdmr-0.14.1/lib/radiolimits.cc