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

Reads manufacturer CPS files. More...

#include <d868uv_filereader.hh>

Inheritance diagram for D868UVFileReader:
Collaboration diagram for D868UVFileReader:

Classes

class  AnalogContactElement
 Represents an analog contact within the manufacturer CPS file. More...
 
class  ChannelElement
 Representsa a channel encoded in the manufacturer CPS file. More...
 
class  RadioIDElement
 Decodes a radio ID from the manufacturer CPS file. More...
 
class  ScanListElement
 Represents a scan list in the manufacturer CPS file. More...
 
class  ZoneElement
 Represents a zone within the manufacturer CPS file. More...
 

Public Member Functions

 D868UVFileReader (Config *config, const uint8_t *data, size_t size, QString &message)
 Constructs a file reader for the given manufacturer CPS file (data, size).
 
bool linkHeader ()
 Link elements.
 
bool readHeader ()
 Read header of file.
 
bool readChannels ()
 Read all channels.
 
virtual bool readChannel ()
 Reads a channel.
 
bool linkChannels ()
 Link elements.
 
virtual bool linkChannel ()
 Links a channel.
 
bool readRadioIDs ()
 Read all radio IDs.
 
virtual bool readRadioID ()
 Reads a radio ID.
 
bool linkRadioIDs ()
 Link elements.
 
bool readZones ()
 Read all zones.
 
virtual bool readZone ()
 Reads a zone.
 
bool linkZones ()
 Link elements.
 
bool readScanLists ()
 Read all scal lists.
 
virtual bool readScanList ()
 Reads a scan list.
 
bool linkScanLists ()
 Link elements.
 
bool readAnalogContacts ()
 Read all DTMF contacts.
 
virtual bool readAnalogContact ()
 Reads an analog contact.
 
bool linkAnalogContacts ()
 Link elements.
 
- Public Member Functions inherited from AnytoneFileReader
virtual ~AnytoneFileReader ()
 Destructor.
 

Additional Inherited Members

- Static Public Member Functions inherited from AnytoneFileReader
static bool read (const QString &filename, Config *config, QString &message)
 Use this static function to read a codeplug from the manufacturer CPS file.
 
- Protected Member Functions inherited from AnytoneFileReader
 AnytoneFileReader (Config *config, const uint8_t *data, size_t size, QString &message)
 Constructs a configuration from the given codeplug file in memory (data, size).
 
virtual bool read ()
 Read all elements.
 
- Protected Attributes inherited from AnytoneFileReader
const uint8_t *const _start
 Pointer to the start.
 
const uint8_t * _data
 Pointer to the entire data.
 
size_t _size
 Size of the entire blob.
 
QString & _message
 Error message.
 

Detailed Description

Reads manufacturer CPS files.

Warning
This is mostly incomplete.

Member Function Documentation

◆ linkAnalogContacts()

bool D868UVFileReader::linkAnalogContacts ( )
virtual

Link elements.

Implements AnytoneFileReader.

◆ linkChannels()

bool D868UVFileReader::linkChannels ( )
virtual

Link elements.

Implements AnytoneFileReader.

◆ linkHeader()

bool D868UVFileReader::linkHeader ( )
virtual

Link elements.

Implements AnytoneFileReader.

◆ linkRadioIDs()

bool D868UVFileReader::linkRadioIDs ( )
virtual

Link elements.

Implements AnytoneFileReader.

◆ linkScanLists()

bool D868UVFileReader::linkScanLists ( )
virtual

Link elements.

Implements AnytoneFileReader.

◆ linkZones()

bool D868UVFileReader::linkZones ( )
virtual

Link elements.

Implements AnytoneFileReader.

◆ readAnalogContacts()

bool D868UVFileReader::readAnalogContacts ( )
virtual

Read all DTMF contacts.

Implements AnytoneFileReader.

◆ readChannels()

bool D868UVFileReader::readChannels ( )
virtual

Read all channels.

Implements AnytoneFileReader.

◆ readHeader()

bool D868UVFileReader::readHeader ( )
virtual

Read header of file.

Implements AnytoneFileReader.

◆ readRadioIDs()

bool D868UVFileReader::readRadioIDs ( )
virtual

Read all radio IDs.

Implements AnytoneFileReader.

◆ readScanLists()

bool D868UVFileReader::readScanLists ( )
virtual

Read all scal lists.

Implements AnytoneFileReader.

◆ readZones()

bool D868UVFileReader::readZones ( )
virtual

Read all zones.

Implements AnytoneFileReader.


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