Ginan
Loading...
Searching...
No Matches
SatSys Struct Reference

Object holding satellite id, and providing related functions. More...

Detailed Description

Object holding satellite id, and providing related functions.

Collaboration diagram for SatSys:

Data Structures

struct  SatData
 

Public Member Functions

 SatSys (E_Sys _sys=E_Sys::NONE, int _prn=0)
 Constructor using satellite system and prn.
 
char sysChar () const
 Returns the character used as a prefix for this system.
 
void getId (char *str) const
 
 operator int () const
 Returns a unique id for this satellite (for use in hashes)
 
void setBlockType (string blockType)
 
void setSvn (string svn)
 
string blockType () const
 
string svn () const
 
void fromHash (int intval)
 Constructs a SatSys object from it's hash uid.
 
string id () const
 Returns a std::string of this satellite's id.
 
 operator string () const
 Returns a string of this satellite's id.
 
 SatSys (const char *id)
 Constructs a SatSys object from a c_string id.
 
string sysName () const
 
template<class ARCHIVE >
void serialize (ARCHIVE &ar, const unsigned int &version)
 

Static Public Member Functions

static E_Sys sysFromChar (char sysChar)
 

Data Fields

E_Sys sys = E_Sys::NONE
 Satellite system.
 
short int prn = 0
 PRN for this satellite.
 

Static Public Attributes

static map< SatSys, SatDatasatDataMap
 

Constructor & Destructor Documentation

◆ SatSys() [1/2]

SatSys::SatSys ( E_Sys _sys = E_Sys::NONE,
int _prn = 0 )
inline

Constructor using satellite system and prn.

◆ SatSys() [2/2]

SatSys::SatSys ( const char * id)
inline

Constructs a SatSys object from a c_string id.

Here is the call graph for this function:

Member Function Documentation

◆ blockType()

string SatSys::blockType ( ) const
inline
Here is the caller graph for this function:

◆ fromHash()

void SatSys::fromHash ( int intval)
inline

Constructs a SatSys object from it's hash uid.

Here is the caller graph for this function:

◆ getId()

void SatSys::getId ( char * str) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ id()

string SatSys::id ( ) const
inline

Returns a std::string of this satellite's id.

Here is the call graph for this function:

◆ operator int()

SatSys::operator int ( ) const
inline

Returns a unique id for this satellite (for use in hashes)

◆ operator string()

SatSys::operator string ( ) const
inline

Returns a string of this satellite's id.

Here is the call graph for this function:

◆ serialize()

template<class ARCHIVE >
void SatSys::serialize ( ARCHIVE & ar,
const unsigned int & version )
inline

◆ setBlockType()

void SatSys::setBlockType ( string blockType)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSvn()

void SatSys::setSvn ( string svn)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ svn()

string SatSys::svn ( ) const
inline
Here is the caller graph for this function:

◆ sysChar()

char SatSys::sysChar ( ) const
inline

Returns the character used as a prefix for this system.

Here is the caller graph for this function:

◆ sysFromChar()

static E_Sys SatSys::sysFromChar ( char sysChar)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sysName()

string SatSys::sysName ( ) const
inline
Here is the caller graph for this function:

Field Documentation

◆ prn

short int SatSys::prn = 0

PRN for this satellite.

◆ satDataMap

map< SatSys, SatSys::SatData > SatSys::satDataMap
static
Initial value:
=
{
}

◆ sys

E_Sys SatSys::sys = E_Sys::NONE

Satellite system.


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