mirror of
https://github.com/adafruit/Adafruit_GPS.git
synced 2026-10-26 22:10:17 +00:00
Document deleted NMEA copy operations for CI
Name and document the disabled copy parameters so the CI Doxygen check can validate both declarations. Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
This commit is contained in:
1 parent
092677dfee
commit
776f44942e
1 file changed
+6
-2
+6
-2
@@ -70,8 +70,12 @@ typedef struct {
|
|||||||
class Adafruit_NMEA {
|
class Adafruit_NMEA {
|
||||||
public:
|
public:
|
||||||
Adafruit_NMEA(char *firstBuffer, char *secondBuffer, size_t capacity);
|
Adafruit_NMEA(char *firstBuffer, char *secondBuffer, size_t capacity);
|
||||||
Adafruit_NMEA(const Adafruit_NMEA &) = delete;
|
/// @brief Copying is disabled to prevent sharing writable receive buffers.
|
||||||
Adafruit_NMEA &operator=(const Adafruit_NMEA &) = delete;
|
/// @param other Receiver that cannot be copied.
|
||||||
|
Adafruit_NMEA(const Adafruit_NMEA &other) = delete;
|
||||||
|
/// @brief Assignment is disabled to prevent sharing writable receive buffers.
|
||||||
|
/// @param other Receiver that cannot be assigned.
|
||||||
|
Adafruit_NMEA &operator=(const Adafruit_NMEA &other) = delete;
|
||||||
void reset();
|
void reset();
|
||||||
nmea_frame_status_t feed(uint8_t byte, uint32_t receivedAtMs);
|
nmea_frame_status_t feed(uint8_t byte, uint32_t receivedAtMs);
|
||||||
nmea_sentence_t lastSentence() const;
|
nmea_sentence_t lastSentence() const;
|
||||||
|
|||||||
Reference in new issue
Block a user