Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
gnsstk::AshtechData Class Reference

Detailed Description

Definition at line 64 of file AshtechData.hpp.

#include <AshtechData.hpp>

Inheritance diagram for gnsstk::AshtechData:
Inheritance graph
[legend]

Public Member Functions

 AshtechData () noexcept
 
virtual bool checkId (std::string hdrId) const
 Returns true when the provided id is valid for this message. More...
 
virtual void decode (const std::string &str)
 
void dump (std::ostream &out) const noexcept
 
virtual std::string encode () const noexcept
 
virtual std::string getName () const
 Simple accessors for various static thangs. More...
 
virtual bool isData () const
 This class is "data" so this function always returns "true". More...
 
bool isValid () const
 
- Public Member Functions inherited from gnsstk::FFData
void getRecord (FFStream &s)
 
virtual bool isHeader () const
 
void putRecord (FFStream &s) const
 
virtual ~FFData (void)
 virtual desctuctor More...
 
- Public Member Functions inherited from gnsstk::CRCDataStatus
bool crcerr () const
 
bool fmterr () const
 
bool lenerr () const
 
bool parerr () const
 
- Public Member Functions inherited from gnsstk::DataStatus
void clear (std::ios_base::iostate s=std::ios_base::goodbit)
 
void clearstate (std::ios_base::iostate s)
 
 DataStatus ()
 
bool good () const
 
 operator void * () const
 
bool operator() () const
 
std::ios_base::iostate rdstate () const
 
void setstate (std::ios_base::iostate s)
 

Public Attributes

bool ascii
 
uint16_t checksum
 
std::string id
 

Static Public Attributes

static GNSSTK_EXPORT int debugLevel = 0
 
static GNSSTK_EXPORT bool hexDump = false
 
static const GNSSTK_EXPORT std::string preamble
 
static const GNSSTK_EXPORT std::string trailer
 

Protected Member Functions

virtual void readBody (AshtechStream &stream)
 
virtual void readHeader (AshtechStream &stream)
 
virtual void reallyGetRecord (FFStream &ffs)
 
virtual void reallyPutRecord (FFStream &ffs) const
 

Constructor & Destructor Documentation

◆ AshtechData()

gnsstk::AshtechData::AshtechData ( )
inlinenoexcept

Definition at line 67 of file AshtechData.hpp.

Member Function Documentation

◆ checkId()

virtual bool gnsstk::AshtechData::checkId ( std::string  hdrId) const
inlinevirtual

Returns true when the provided id is valid for this message.

Definition at line 89 of file AshtechData.hpp.

◆ decode()

virtual void gnsstk::AshtechData::decode ( const std::string &  str)
inlinevirtual

Decode this object from a string.

Parameters
strthe string to read from.

Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, gnsstk::AshtechEPB, and gnsstk::AshtechALB.

Definition at line 82 of file AshtechData.hpp.

◆ dump()

void gnsstk::AshtechData::dump ( std::ostream &  out) const
virtualnoexcept

Dump some debugging information to the given ostream.

Parameters
outthe ostream to write to

Reimplemented from gnsstk::FFData.

Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, and gnsstk::AshtechEPB.

Definition at line 162 of file AshtechData.cpp.

◆ encode()

virtual std::string gnsstk::AshtechData::encode ( ) const
inlinevirtualnoexcept

Encode this object to a string.

Returns
this object as a string.

Definition at line 77 of file AshtechData.hpp.

◆ getName()

virtual std::string gnsstk::AshtechData::getName ( ) const
inlinevirtual

Simple accessors for various static thangs.

Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, gnsstk::AshtechEPB, and gnsstk::AshtechALB.

Definition at line 86 of file AshtechData.hpp.

◆ isData()

virtual bool gnsstk::AshtechData::isData ( ) const
inlinevirtual

This class is "data" so this function always returns "true".

Reimplemented from gnsstk::FFData.

Definition at line 72 of file AshtechData.hpp.

◆ isValid()

bool gnsstk::AshtechData::isValid ( ) const
inline

Definition at line 69 of file AshtechData.hpp.

◆ readBody()

void gnsstk::AshtechData::readBody ( AshtechStream stream)
protectedvirtual
Exceptions
FFStreamError
EndOfFile

Definition at line 123 of file AshtechData.cpp.

◆ readHeader()

void gnsstk::AshtechData::readHeader ( AshtechStream stream)
protectedvirtual
Exceptions
FFStreamError
EndOfFile

Definition at line 82 of file AshtechData.cpp.

◆ reallyGetRecord()

void gnsstk::AshtechData::reallyGetRecord ( FFStream ffs)
protectedvirtual
Exceptions
std::exception
FFStreamError
EndOfFile

Implements gnsstk::FFData.

Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, gnsstk::AshtechEPB, and gnsstk::AshtechALB.

Definition at line 68 of file AshtechData.cpp.

◆ reallyPutRecord()

virtual void gnsstk::AshtechData::reallyPutRecord ( FFStream ffs) const
inlineprotectedvirtual
Exceptions
FFStreamError

Implements gnsstk::FFData.

Definition at line 113 of file AshtechData.hpp.

Member Data Documentation

◆ ascii

bool gnsstk::AshtechData::ascii

Definition at line 100 of file AshtechData.hpp.

◆ checksum

uint16_t gnsstk::AshtechData::checksum

Definition at line 104 of file AshtechData.hpp.

◆ debugLevel

int gnsstk::AshtechData::debugLevel = 0
static

Definition at line 96 of file AshtechData.hpp.

◆ hexDump

bool gnsstk::AshtechData::hexDump = false
static

Definition at line 97 of file AshtechData.hpp.

◆ id

std::string gnsstk::AshtechData::id

Definition at line 99 of file AshtechData.hpp.

◆ preamble

const string gnsstk::AshtechData::preamble
static

Definition at line 106 of file AshtechData.hpp.

◆ trailer

const string gnsstk::AshtechData::trailer
static

Definition at line 107 of file AshtechData.hpp.


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


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44