QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSStreamDemux::Framer Class Referenceabstract

Public Types

enum class  Claim : uint8_t {
  None , Default , Watch , Owns ,
  Locked
}
 

Public Member Functions

 Framer (GPSFrameKind kind)
 
virtual ~Framer ()=default
 
GPSFrameKind kind () const
 
virtual Claim claim (uint8_t byte) const =0
 
virtual void feed (uint8_t byte, Handler &handler)=0
 
virtual void reset ()=0
 

Public Attributes

bool enabled = false
 

Detailed Description

Definition at line 10 of file GPSStreamDemux.cc.

Member Enumeration Documentation

◆ Claim

enum class GPSStreamDemux::Framer::Claim : uint8_t
strong
Enumerator
None 
Default 
Watch 
Owns 
Locked 

Definition at line 13 of file GPSStreamDemux.cc.

Constructor & Destructor Documentation

◆ Framer()

GPSStreamDemux::Framer::Framer ( GPSFrameKind  kind)
inlineexplicit

Definition at line 22 of file GPSStreamDemux.cc.

◆ ~Framer()

virtual GPSStreamDemux::Framer::~Framer ( )
virtualdefault

Member Function Documentation

◆ claim()

virtual Claim GPSStreamDemux::Framer::claim ( uint8_t  byte) const
pure virtual

◆ feed()

virtual void GPSStreamDemux::Framer::feed ( uint8_t  byte,
Handler &  handler 
)
pure virtual

Referenced by GPSStreamDemux::push().

◆ kind()

GPSFrameKind GPSStreamDemux::Framer::kind ( ) const
inline

Definition at line 30 of file GPSStreamDemux.cc.

◆ reset()

virtual void GPSStreamDemux::Framer::reset ( )
pure virtual

Referenced by GPSStreamDemux::push().

Member Data Documentation

◆ enabled

bool GPSStreamDemux::Framer::enabled = false

Definition at line 36 of file GPSStreamDemux.cc.


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