diff --git a/HostMain.cpp b/HostMain.cpp index b194520c..ad23dfaf 100644 --- a/HostMain.cpp +++ b/HostMain.cpp @@ -54,6 +54,7 @@ using namespace lookups; // --------------------------------------------------------------------------- // Macros // --------------------------------------------------------------------------- + #define IS(s) (::strcmp(argv[i], s) == 0) // --------------------------------------------------------------------------- diff --git a/Log.h b/Log.h index b820ce11..7d40b8b4 100644 --- a/Log.h +++ b/Log.h @@ -38,6 +38,7 @@ // --------------------------------------------------------------------------- // Constants // --------------------------------------------------------------------------- + #define LOG_HOST "HOST" #define LOG_RCON "RCON" #define LOG_MODEM "MODEM" diff --git a/Timer.cpp b/Timer.cpp index 0b0248d3..d54bfad6 100644 --- a/Timer.cpp +++ b/Timer.cpp @@ -37,6 +37,7 @@ // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Timer class. /// diff --git a/Utils.cpp b/Utils.cpp index 29267ea9..b40f462b 100644 --- a/Utils.cpp +++ b/Utils.cpp @@ -43,6 +43,7 @@ const uint8_t BITS_TABLE[] = { // --------------------------------------------------------------------------- // Global Functions // --------------------------------------------------------------------------- + /// /// Displays the host version. /// @@ -54,6 +55,7 @@ void getHostVersion() // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/dmr/Control.cpp b/dmr/Control.cpp index cd962fe9..5bf6df4b 100644 --- a/dmr/Control.cpp +++ b/dmr/Control.cpp @@ -38,6 +38,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Control class. /// diff --git a/dmr/Control.h b/dmr/Control.h index 2e66bb8c..2c455643 100644 --- a/dmr/Control.h +++ b/dmr/Control.h @@ -48,6 +48,7 @@ namespace dmr // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API Slot; // --------------------------------------------------------------------------- diff --git a/dmr/ControlPacket.h b/dmr/ControlPacket.h index 806adee1..088d96a9 100644 --- a/dmr/ControlPacket.h +++ b/dmr/ControlPacket.h @@ -51,6 +51,7 @@ namespace dmr // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API Slot; // --------------------------------------------------------------------------- diff --git a/dmr/DMRDefines.h b/dmr/DMRDefines.h index c655d07e..afbc5ab5 100644 --- a/dmr/DMRDefines.h +++ b/dmr/DMRDefines.h @@ -262,6 +262,7 @@ namespace dmr // --------------------------------------------------------------------------- // Namespace Prototypes // --------------------------------------------------------------------------- + namespace edac { } namespace dmr { diff --git a/dmr/DataPacket.h b/dmr/DataPacket.h index 09101a0b..352a66c3 100644 --- a/dmr/DataPacket.h +++ b/dmr/DataPacket.h @@ -53,6 +53,7 @@ namespace dmr // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API VoicePacket; class HOST_SW_API ControlPacket; class HOST_SW_API Slot; diff --git a/dmr/SlotType.cpp b/dmr/SlotType.cpp index c6824c5a..2e8fb6ac 100644 --- a/dmr/SlotType.cpp +++ b/dmr/SlotType.cpp @@ -39,6 +39,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the SlotType class. /// diff --git a/dmr/Sync.cpp b/dmr/Sync.cpp index 93af3f15..ee727c28 100644 --- a/dmr/Sync.cpp +++ b/dmr/Sync.cpp @@ -40,6 +40,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Helper to append DMR data sync bytes to the passed buffer. /// diff --git a/dmr/VoicePacket.h b/dmr/VoicePacket.h index b5d52c1e..1e94350a 100644 --- a/dmr/VoicePacket.h +++ b/dmr/VoicePacket.h @@ -49,6 +49,7 @@ namespace dmr // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API DataPacket; class HOST_SW_API Slot; diff --git a/dmr/data/Data.cpp b/dmr/data/Data.cpp index 992e85a9..ca9fd9d2 100644 --- a/dmr/data/Data.cpp +++ b/dmr/data/Data.cpp @@ -37,6 +37,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Data class. /// diff --git a/dmr/data/DataHeader.cpp b/dmr/data/DataHeader.cpp index b06173ed..641a958e 100644 --- a/dmr/data/DataHeader.cpp +++ b/dmr/data/DataHeader.cpp @@ -53,6 +53,7 @@ const uint8_t UDTF_NMEA = 0x05U; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the DataHeader class. /// diff --git a/dmr/data/EMB.cpp b/dmr/data/EMB.cpp index b425e9fd..39ff0741 100644 --- a/dmr/data/EMB.cpp +++ b/dmr/data/EMB.cpp @@ -40,6 +40,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the EMB class. /// diff --git a/dmr/data/EmbeddedData.cpp b/dmr/data/EmbeddedData.cpp index 93666961..ede72926 100644 --- a/dmr/data/EmbeddedData.cpp +++ b/dmr/data/EmbeddedData.cpp @@ -43,6 +43,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the EmbeddedData class. /// @@ -248,6 +249,7 @@ void EmbeddedData::reset() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Unpack and error check an embedded LC. /// diff --git a/dmr/edac/Trellis.cpp b/dmr/edac/Trellis.cpp index 108cadda..b7d11219 100644 --- a/dmr/edac/Trellis.cpp +++ b/dmr/edac/Trellis.cpp @@ -53,6 +53,7 @@ const uint8_t ENCODE_TABLE[] = { // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Trellis class. /// @@ -142,6 +143,7 @@ void Trellis::encode(const uint8_t* payload, uint8_t* data) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Helper to deinterleave the input symbols into dibits. /// diff --git a/dmr/lc/CSBK.cpp b/dmr/lc/CSBK.cpp index a63f8bb2..f7de04f5 100644 --- a/dmr/lc/CSBK.cpp +++ b/dmr/lc/CSBK.cpp @@ -44,6 +44,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the CSBK class. /// @@ -483,6 +484,7 @@ void CSBK::encode(uint8_t* bytes) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the CSBK class. /// diff --git a/dmr/lc/FullLC.cpp b/dmr/lc/FullLC.cpp index 0d91ee8f..5c96d80c 100644 --- a/dmr/lc/FullLC.cpp +++ b/dmr/lc/FullLC.cpp @@ -46,6 +46,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initialize a new instance of the FullLC class. /// diff --git a/dmr/lc/LC.cpp b/dmr/lc/LC.cpp index d4d18591..67361a66 100644 --- a/dmr/lc/LC.cpp +++ b/dmr/lc/LC.cpp @@ -41,6 +41,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the LC class. /// diff --git a/dmr/lc/PrivacyLC.cpp b/dmr/lc/PrivacyLC.cpp index 7a9267c7..e9b80d0c 100644 --- a/dmr/lc/PrivacyLC.cpp +++ b/dmr/lc/PrivacyLC.cpp @@ -37,6 +37,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the PrivacyLC class. /// diff --git a/dmr/lc/ShortLC.cpp b/dmr/lc/ShortLC.cpp index a4cc9d10..654753d2 100644 --- a/dmr/lc/ShortLC.cpp +++ b/dmr/lc/ShortLC.cpp @@ -42,6 +42,7 @@ using namespace dmr; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the ShortLC class. /// @@ -114,8 +115,9 @@ void ShortLC::encode(const uint8_t* in, uint8_t* out) } // --------------------------------------------------------------------------- -// Private Class Members +// Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/AMBEFEC.cpp b/edac/AMBEFEC.cpp index bf900a62..47c0e58b 100644 --- a/edac/AMBEFEC.cpp +++ b/edac/AMBEFEC.cpp @@ -41,6 +41,7 @@ using namespace edac; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the AMBEFEC class. /// @@ -489,6 +490,7 @@ uint32_t AMBEFEC::measureP25BER(const uint8_t* bytes) const // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/BCH.cpp b/edac/BCH.cpp index 4ae14974..fefe933d 100644 --- a/edac/BCH.cpp +++ b/edac/BCH.cpp @@ -104,6 +104,7 @@ const int g[] = { // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the BCH class. /// @@ -144,6 +145,7 @@ void BCH::encode(uint8_t* nid) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/BPTC19696.cpp b/edac/BPTC19696.cpp index dd2e06d5..a168ab74 100644 --- a/edac/BPTC19696.cpp +++ b/edac/BPTC19696.cpp @@ -42,6 +42,7 @@ using namespace edac; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the BPTC19696 class. /// @@ -111,6 +112,7 @@ void BPTC19696::encode(const uint8_t* in, uint8_t* out) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/CRC.cpp b/edac/CRC.cpp index 905da1e0..9f3d4bf7 100644 --- a/edac/CRC.cpp +++ b/edac/CRC.cpp @@ -189,6 +189,7 @@ const uint32_t CRC32_TABLE[] = { // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Check 5-bit CRC. /// diff --git a/edac/Golay2087.cpp b/edac/Golay2087.cpp index 82c5c99d..a45c8188 100644 --- a/edac/Golay2087.cpp +++ b/edac/Golay2087.cpp @@ -231,6 +231,7 @@ const uint32_t DECODING_TABLE_1987[] = { // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Decode Golay (20,8,7) FEC. /// @@ -269,6 +270,7 @@ void Golay2087::encode(uint8_t* data) // --------------------------------------------------------------------------- // Private Static Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/Golay24128.cpp b/edac/Golay24128.cpp index 91a25d78..a3fa7f65 100644 --- a/edac/Golay24128.cpp +++ b/edac/Golay24128.cpp @@ -1080,6 +1080,7 @@ static const uint32_t DECODING_TABLE_23127[] = { // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Decode Golay (23,12,7) FEC. /// @@ -1272,6 +1273,7 @@ void Golay24128::encode24128(uint8_t* data, const uint8_t* raw, uint32_t msglen) // --------------------------------------------------------------------------- // Private Static Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/Hamming.cpp b/edac/Hamming.cpp index f821d73a..a67eeedc 100644 --- a/edac/Hamming.cpp +++ b/edac/Hamming.cpp @@ -37,6 +37,7 @@ using namespace edac; // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Decode Hamming (15,11,3). /// diff --git a/edac/QR1676.cpp b/edac/QR1676.cpp index 8cce71d1..a1972e1b 100644 --- a/edac/QR1676.cpp +++ b/edac/QR1676.cpp @@ -84,6 +84,7 @@ const uint32_t DECODING_TABLE_1576[] = { // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Decode QR (16,7,6) FEC. /// @@ -121,6 +122,7 @@ void QR1676::encode(uint8_t* data) // --------------------------------------------------------------------------- // Private Static Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/RS129.cpp b/edac/RS129.cpp index 19f3e160..d3727a59 100644 --- a/edac/RS129.cpp +++ b/edac/RS129.cpp @@ -103,6 +103,7 @@ const uint8_t LOG_TABLE[] = { // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Check RS (12,9) FEC. /// @@ -151,6 +152,7 @@ void RS129::encode(const uint8_t* msg, uint32_t nbytes, uint8_t* parity) // --------------------------------------------------------------------------- // Private Static Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/RS634717.cpp b/edac/RS634717.cpp index d7ca3013..ba2323c1 100644 --- a/edac/RS634717.cpp +++ b/edac/RS634717.cpp @@ -120,6 +120,7 @@ const uint32_t rsGFlog[64] = { // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the RS634717 class. /// @@ -244,6 +245,7 @@ void RS634717::encode362017(uint8_t* data) // --------------------------------------------------------------------------- // Private Static Class Members // --------------------------------------------------------------------------- + /// /// /// @@ -284,6 +286,7 @@ void RS634717::hex2Bin(uint8_t input, uint8_t* output, uint32_t offset) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/SHA256.cpp b/edac/SHA256.cpp index 5d83b486..80663a9a 100644 --- a/edac/SHA256.cpp +++ b/edac/SHA256.cpp @@ -108,6 +108,7 @@ static inline void set_uint32(uint8_t* cp, uint32_t v) // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the SHA256 class. /// @@ -392,6 +393,7 @@ uint8_t* SHA256::buffer(const uint8_t* buffer, uint32_t len, uint8_t* resblock) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/edac/SHA256.h b/edac/SHA256.h index 05251f97..bf44e366 100644 --- a/edac/SHA256.h +++ b/edac/SHA256.h @@ -85,7 +85,7 @@ namespace edac private: uint32_t* m_state; uint32_t* m_total; - uint32_t m_buflen; + uint32_t m_buflen; uint32_t* m_buffer; /// diff --git a/host/Host.cpp b/host/Host.cpp index 23f7721e..e79c28bc 100644 --- a/host/Host.cpp +++ b/host/Host.cpp @@ -77,6 +77,7 @@ using namespace lookups; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Host class. /// @@ -1283,6 +1284,7 @@ int Host::run() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Reads basic configuration parameters from the INI. /// diff --git a/host/Host.h b/host/Host.h index 6bbff26b..76465bd0 100644 --- a/host/Host.h +++ b/host/Host.h @@ -46,6 +46,7 @@ // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API RemoteControl; // --------------------------------------------------------------------------- diff --git a/host/calibrate/Console.cpp b/host/calibrate/Console.cpp index 74cd6982..e40270dc 100644 --- a/host/calibrate/Console.cpp +++ b/host/calibrate/Console.cpp @@ -43,6 +43,7 @@ // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + #if defined(_WIN32) || defined(_WIN64) /// /// Initializes a new instance of the Console class. diff --git a/host/calibrate/HostCal.cpp b/host/calibrate/HostCal.cpp index 39684e35..edef798a 100644 --- a/host/calibrate/HostCal.cpp +++ b/host/calibrate/HostCal.cpp @@ -119,6 +119,7 @@ unsigned char LDU2_1K[] = { // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the HostCal class. /// diff --git a/host/setup/HostSetup.cpp b/host/setup/HostSetup.cpp index 80acac50..5ea80f91 100644 --- a/host/setup/HostSetup.cpp +++ b/host/setup/HostSetup.cpp @@ -42,6 +42,7 @@ using namespace lookups; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the HostSetup class. /// diff --git a/lookups/IdenTableLookup.cpp b/lookups/IdenTableLookup.cpp index 44cbe0b6..37731218 100644 --- a/lookups/IdenTableLookup.cpp +++ b/lookups/IdenTableLookup.cpp @@ -38,6 +38,7 @@ using namespace lookups; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the IdenTableLookup class. /// @@ -107,6 +108,7 @@ std::vector IdenTableLookup::list() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Parses a table entry from the passed comma delimited string. /// diff --git a/lookups/RSSIInterpolator.cpp b/lookups/RSSIInterpolator.cpp index b72d7d9f..ef7830ae 100644 --- a/lookups/RSSIInterpolator.cpp +++ b/lookups/RSSIInterpolator.cpp @@ -40,6 +40,7 @@ using namespace lookups; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the RSSIInterpolator class. /// diff --git a/lookups/RadioIdLookup.cpp b/lookups/RadioIdLookup.cpp index fea2e2bd..6f634814 100644 --- a/lookups/RadioIdLookup.cpp +++ b/lookups/RadioIdLookup.cpp @@ -44,6 +44,7 @@ using namespace lookups; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the RadioIdLookup class. /// @@ -161,6 +162,7 @@ bool RadioIdLookup::getACL() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Parses a table entry from the passed comma delimited string. /// diff --git a/lookups/TalkgroupIdLookup.cpp b/lookups/TalkgroupIdLookup.cpp index ad9a4c75..57263df8 100644 --- a/lookups/TalkgroupIdLookup.cpp +++ b/lookups/TalkgroupIdLookup.cpp @@ -43,6 +43,7 @@ using namespace lookups; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the TalkgroupIdLookup class. /// @@ -124,6 +125,7 @@ bool TalkgroupIdLookup::getACL() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Parses a table entry from the passed comma delimited string. /// diff --git a/modem/Modem.cpp b/modem/Modem.cpp index 90bdb619..84b90859 100644 --- a/modem/Modem.cpp +++ b/modem/Modem.cpp @@ -64,6 +64,7 @@ using namespace modem; // --------------------------------------------------------------------------- // Macros // --------------------------------------------------------------------------- + // Check flash configuration value against class value. #define FLASH_VALUE_CHECK(_CLASS_VAL, _FLASH_VAL, _DEFAULT, _STR) \ if (_CLASS_VAL == _DEFAULT && _CLASS_VAL != _FLASH_VAL) { \ @@ -89,6 +90,7 @@ using namespace modem; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Modem class. /// @@ -1401,6 +1403,7 @@ bool Modem::sendCWId(const std::string& callsign) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Retrieve the air interface modem version. /// diff --git a/modem/Modem.h b/modem/Modem.h index 4f75fbe2..a6b5f44b 100644 --- a/modem/Modem.h +++ b/modem/Modem.h @@ -55,6 +55,7 @@ const uint8_t PROTOCOL_VERSION = 2U; // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API HostCal; namespace modem diff --git a/modem/port/IModemPort.cpp b/modem/port/IModemPort.cpp index 624fddce..b5cd453c 100644 --- a/modem/port/IModemPort.cpp +++ b/modem/port/IModemPort.cpp @@ -34,6 +34,7 @@ using namespace modem::port; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Finalizes a instance of the IModemPort class. /// diff --git a/modem/port/ISerialPort.cpp b/modem/port/ISerialPort.cpp index a5afee5d..03d1820c 100644 --- a/modem/port/ISerialPort.cpp +++ b/modem/port/ISerialPort.cpp @@ -34,6 +34,7 @@ using namespace modem::port; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Finalizes a instance of the ISerialPort class. /// diff --git a/modem/port/ModemNullPort.cpp b/modem/port/ModemNullPort.cpp index cced6df2..35b20898 100644 --- a/modem/port/ModemNullPort.cpp +++ b/modem/port/ModemNullPort.cpp @@ -43,6 +43,7 @@ const char* HARDWARE = "Null Modem Controller"; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the ModemNullPort class. /// @@ -125,6 +126,7 @@ void ModemNullPort::close() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/modem/port/PseudoPTYPort.cpp b/modem/port/PseudoPTYPort.cpp index cf484750..0d7b031b 100644 --- a/modem/port/PseudoPTYPort.cpp +++ b/modem/port/PseudoPTYPort.cpp @@ -54,6 +54,7 @@ using namespace modem::port; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the PseudoPTYPort class. /// diff --git a/modem/port/UARTPort.cpp b/modem/port/UARTPort.cpp index ce2465aa..8bb27f29 100644 --- a/modem/port/UARTPort.cpp +++ b/modem/port/UARTPort.cpp @@ -436,6 +436,12 @@ int UARTPort::setNonblock(bool nonblock) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + +/// +/// Initializes a new instance of the UARTPort class. +/// +/// Serial port speed. +/// UARTPort::UARTPort(SERIAL_SPEED speed, bool assertRTS) : m_isOpen(false), m_speed(speed), diff --git a/modem/port/UDPPort.cpp b/modem/port/UDPPort.cpp index 291ddc84..a06a3896 100644 --- a/modem/port/UDPPort.cpp +++ b/modem/port/UDPPort.cpp @@ -48,6 +48,7 @@ const uint32_t BUFFER_LENGTH = 2000U; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the UDPPort class. /// diff --git a/network/BaseNetwork.cpp b/network/BaseNetwork.cpp index 9c4114f0..4a22cf23 100644 --- a/network/BaseNetwork.cpp +++ b/network/BaseNetwork.cpp @@ -43,6 +43,7 @@ using namespace network; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the BaseNetwork class. /// @@ -539,6 +540,7 @@ void BaseNetwork::resetP25() // --------------------------------------------------------------------------- // Protected Class Members // --------------------------------------------------------------------------- + /// /// Writes DMR frame data to the network. /// diff --git a/network/BaseNetwork.h b/network/BaseNetwork.h index 13f6ba62..da2c6768 100644 --- a/network/BaseNetwork.h +++ b/network/BaseNetwork.h @@ -53,6 +53,7 @@ // --------------------------------------------------------------------------- // Constants // --------------------------------------------------------------------------- + #define DVM_RAND_MIN 0x00000001 #define DVM_RAND_MAX 0xfffffffe diff --git a/network/Network.cpp b/network/Network.cpp index 572f38d5..e8e7e7a8 100644 --- a/network/Network.cpp +++ b/network/Network.cpp @@ -45,6 +45,7 @@ using namespace network; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Network class. /// @@ -453,6 +454,7 @@ void Network::close() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Writes login request to the network. /// diff --git a/network/RemoteControl.cpp b/network/RemoteControl.cpp index 5d9bd2d8..eaf8cdf2 100644 --- a/network/RemoteControl.cpp +++ b/network/RemoteControl.cpp @@ -105,6 +105,7 @@ const uint32_t RC_BUFFER_LENGTH = 140U; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the RemoteControl class. /// @@ -832,6 +833,7 @@ void RemoteControl::close() // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/network/RemoteControl.h b/network/RemoteControl.h index 8e6e70c0..faa45a58 100644 --- a/network/RemoteControl.h +++ b/network/RemoteControl.h @@ -45,6 +45,7 @@ // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API Host; namespace dmr { class HOST_SW_API Control; } namespace p25 { class HOST_SW_API Control; } diff --git a/p25/Audio.cpp b/p25/Audio.cpp index e99a2c95..66e8f967 100644 --- a/p25/Audio.cpp +++ b/p25/Audio.cpp @@ -41,6 +41,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Audio class. /// diff --git a/p25/NID.cpp b/p25/NID.cpp index 7c87aa18..45c001f5 100644 --- a/p25/NID.cpp +++ b/p25/NID.cpp @@ -48,6 +48,7 @@ const uint32_t MAX_NID_ERRS = 7U;//5U; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the NID class. /// @@ -205,6 +206,7 @@ void NID::setTxNAC(uint32_t nac) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/p25/P25Utils.cpp b/p25/P25Utils.cpp index a2bdc0e9..4bc26eab 100644 --- a/p25/P25Utils.cpp +++ b/p25/P25Utils.cpp @@ -39,6 +39,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Decode bit interleaving. /// diff --git a/p25/Sync.cpp b/p25/Sync.cpp index e85ef0ab..aa1440a0 100644 --- a/p25/Sync.cpp +++ b/p25/Sync.cpp @@ -40,6 +40,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Static Class Members // --------------------------------------------------------------------------- + /// /// Helper to append P25 sync bytes to the passed buffer. /// diff --git a/p25/TrunkPacket.h b/p25/TrunkPacket.h index 4f7376d0..bd509d69 100644 --- a/p25/TrunkPacket.h +++ b/p25/TrunkPacket.h @@ -46,6 +46,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API VoicePacket; namespace dfsi { class HOST_SW_API DFSIVoicePacket; } class HOST_SW_API DataPacket; diff --git a/p25/VoicePacket.h b/p25/VoicePacket.h index ff33e8e8..86dc584c 100644 --- a/p25/VoicePacket.h +++ b/p25/VoicePacket.h @@ -47,6 +47,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API TrunkPacket; class HOST_SW_API Control; diff --git a/p25/data/DataBlock.cpp b/p25/data/DataBlock.cpp index 19bccbb1..123de462 100644 --- a/p25/data/DataBlock.cpp +++ b/p25/data/DataBlock.cpp @@ -40,6 +40,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the DataBlock class. /// diff --git a/p25/data/DataHeader.cpp b/p25/data/DataHeader.cpp index 58c02326..b7446f94 100644 --- a/p25/data/DataHeader.cpp +++ b/p25/data/DataHeader.cpp @@ -40,6 +40,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the DataHeader class. /// diff --git a/p25/data/LowSpeedData.cpp b/p25/data/LowSpeedData.cpp index 1a6cbc67..a43d74d5 100644 --- a/p25/data/LowSpeedData.cpp +++ b/p25/data/LowSpeedData.cpp @@ -65,6 +65,7 @@ const uint32_t MAX_CCS_ERRS = 4U; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the LowSpeedData class. /// @@ -161,6 +162,7 @@ void LowSpeedData::encode(uint8_t* data) const // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// /// diff --git a/p25/dfsi/DFSITrunkPacket.h b/p25/dfsi/DFSITrunkPacket.h index 8e7612ae..436276fc 100644 --- a/p25/dfsi/DFSITrunkPacket.h +++ b/p25/dfsi/DFSITrunkPacket.h @@ -37,6 +37,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API TrunkPacket; class HOST_SW_API Control; diff --git a/p25/dfsi/DFSIVoicePacket.h b/p25/dfsi/DFSIVoicePacket.h index bb6f371a..0d3c29a8 100644 --- a/p25/dfsi/DFSIVoicePacket.h +++ b/p25/dfsi/DFSIVoicePacket.h @@ -42,6 +42,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API VoicePacket; class HOST_SW_API Control; diff --git a/p25/dfsi/LC.cpp b/p25/dfsi/LC.cpp index 4925e8c1..c8912872 100644 --- a/p25/dfsi/LC.cpp +++ b/p25/dfsi/LC.cpp @@ -41,6 +41,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the LC class. /// @@ -763,6 +764,7 @@ void LC::encodeTSBK(uint8_t* data) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Internal helper to copy the the class. /// diff --git a/p25/edac/Trellis.cpp b/p25/edac/Trellis.cpp index 8434b329..89ad26ba 100644 --- a/p25/edac/Trellis.cpp +++ b/p25/edac/Trellis.cpp @@ -59,6 +59,7 @@ const uint8_t ENCODE_TABLE_12[] = { // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Trellis class. /// @@ -218,6 +219,7 @@ void Trellis::encode12(const uint8_t* payload, uint8_t* data) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Helper to deinterleave the input symbols into dibits. /// diff --git a/p25/lc/LC.cpp b/p25/lc/LC.cpp index fa08937d..7283ae48 100644 --- a/p25/lc/LC.cpp +++ b/p25/lc/LC.cpp @@ -48,6 +48,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the LC class. /// @@ -500,6 +501,7 @@ void LC::getMI(uint8_t* mi) const // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Internal helper to copy the the class. /// diff --git a/p25/lc/LC.h b/p25/lc/LC.h index dfc976a4..08612fc8 100644 --- a/p25/lc/LC.h +++ b/p25/lc/LC.h @@ -47,6 +47,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API TSBK; class HOST_SW_API TDULC; diff --git a/p25/lc/TDULC.cpp b/p25/lc/TDULC.cpp index 10381f3b..34ad3293 100644 --- a/p25/lc/TDULC.cpp +++ b/p25/lc/TDULC.cpp @@ -43,6 +43,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a copy instance of the TDULC class. /// @@ -205,6 +206,7 @@ void TDULC::encode(uint8_t * data) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the TDULC class. /// diff --git a/p25/lc/TDULC.h b/p25/lc/TDULC.h index 367ec615..88074195 100644 --- a/p25/lc/TDULC.h +++ b/p25/lc/TDULC.h @@ -43,6 +43,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API LC; class HOST_SW_API TSBK; diff --git a/p25/lc/TSBK.cpp b/p25/lc/TSBK.cpp index a53835ca..77234865 100644 --- a/p25/lc/TSBK.cpp +++ b/p25/lc/TSBK.cpp @@ -42,6 +42,7 @@ using namespace p25; // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a copy instance of the TSBK class. /// @@ -1091,6 +1092,7 @@ void TSBK::setCallsign(std::string callsign) // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the TSBK class. /// diff --git a/p25/lc/TSBK.h b/p25/lc/TSBK.h index 8d4e0c6c..56cc9453 100644 --- a/p25/lc/TSBK.h +++ b/p25/lc/TSBK.h @@ -45,6 +45,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API LC; } @@ -53,6 +54,7 @@ namespace p25 // --------------------------------------------------------------------------- // Class Prototypes // --------------------------------------------------------------------------- + class HOST_SW_API LC; class HOST_SW_API TDULC; diff --git a/remote/RemoteCommand.cpp b/remote/RemoteCommand.cpp index 20772b3d..735664f9 100644 --- a/remote/RemoteCommand.cpp +++ b/remote/RemoteCommand.cpp @@ -63,6 +63,7 @@ const uint32_t RC_BUFFER_LENGTH = 140U; // --------------------------------------------------------------------------- // Macros // --------------------------------------------------------------------------- + #define IS(s) (::strcmp(argv[i], s) == 0) // --------------------------------------------------------------------------- @@ -226,6 +227,7 @@ int main(int argc, char** argv) // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the CRemoteCommand class. /// diff --git a/yaml/Yaml.cpp b/yaml/Yaml.cpp index 4bb44b52..59488560 100644 --- a/yaml/Yaml.cpp +++ b/yaml/Yaml.cpp @@ -94,6 +94,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Exception class. /// @@ -127,6 +128,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the InternalException class. /// @@ -140,6 +142,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the ParsingException class. /// @@ -153,6 +156,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the OperationException class. /// @@ -842,6 +846,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Iterator class. /// @@ -1001,6 +1006,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the ConstIterator class. /// @@ -1159,6 +1165,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the Node class. /// @@ -1458,6 +1465,7 @@ namespace yaml // --------------------------------------------------------------------------- // Private Class Members // --------------------------------------------------------------------------- + /// /// const std::string& Node::asString() const @@ -2235,6 +2243,7 @@ namespace yaml // --------------------------------------------------------------------------- // Parsing Functions // --------------------------------------------------------------------------- + /// Populate given root node with deserialized data. /// Root node to populate. /// Path of input file. @@ -2296,6 +2305,7 @@ namespace yaml // --------------------------------------------------------------------------- // Public Class Members // --------------------------------------------------------------------------- + /// /// Initializes a new instance of the SerializeConfig struct. /// @@ -2316,6 +2326,7 @@ namespace yaml // --------------------------------------------------------------------------- // Serialization Functions // --------------------------------------------------------------------------- + /// Serialize node data. /// Root node to serialize. /// Path of output file. @@ -2533,6 +2544,7 @@ namespace yaml // --------------------------------------------------------------------------- // Global Functions // --------------------------------------------------------------------------- + std::string ExceptionMessage(const std::string& message, ReaderLine& line) { return message + std::string(" Line ") + std::to_string(line.No) + std::string(": ") + line.Data;