libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
D868UVFileReader::ScanListElement Class Reference

Represents a scan list in the manufacturer CPS file. More...

#include <d868uv_filereader.hh>

Inheritance diagram for D868UVFileReader::ScanListElement:
Collaboration diagram for D868UVFileReader::ScanListElement:

Public Member Functions

 ScanListElement (const uint8_t *ptr)
 Constructor.
uint8_t index () const
 Returns the index of the scan list.
uint8_t numChannels () const
 Returns the number of channels in the scan list.
AnytoneCodeplug::ScanListElement::PriChannel prioChannelSelect () const
 Returns the priority channel selection.
uint16_t prioChannel1 () const
 Returns the priority channel 1 index.
uint16_t prioChannel2 () const
 Returns the priority channel 2 index.
uint16_t channel (uint8_t index) const
 Returns the i-th channel index.
QString name () const
 Returns the name of the scan list.
size_t size () const
 Returns the storage size of the element.
Public Member Functions inherited from AnytoneFileReader::Element
virtual ~Element ()
 Destructor.

Protected Attributes

uint8_t _numChannels
 Holds the number of channels.
size_t _nameLength
 Holds the name length.
Protected Attributes inherited from AnytoneFileReader::Element
const uint8_t * _data
 Pointer to the actual element.

Additional Inherited Members

Protected Member Functions inherited from AnytoneFileReader::Element
 Element (const uint8_t *ptr)
 Hidden constructor.

Detailed Description

Represents a scan list in the manufacturer CPS file.

Member Function Documentation

◆ size()

size_t D868UVFileReader::ScanListElement::size ( ) const
virtual

Returns the storage size of the element.

Implements AnytoneFileReader::Element.


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