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

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

#include <d868uv_filereader.hh>

Inheritance diagram for D868UVFileReader::ScanListElement:
Inheritance graph
[legend]
Collaboration diagram for D868UVFileReader::ScanListElement:
Collaboration graph
[legend]

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.


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