MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Public Types | Public Member Functions | Public Attributes | List of all members
mip::data_gnss::SatelliteStatus::ValidFlags Struct Reference

#include <data_gnss.hpp>

Inheritance diagram for mip::data_gnss::SatelliteStatus::ValidFlags:
mip::Bitfield< ValidFlags >

Public Types

enum  _enumType : uint16_t {
  NONE = 0x0000, TOW = 0x0001, WEEK_NUMBER = 0x0002, GNSS_ID = 0x0004,
  SATELLITE_ID = 0x0008, ELEVATION = 0x0010, AZIMUTH = 0x0020, HEALTH = 0x0040,
  FLAGS = 0x007F, ALL = 0x007F
}
 
typedef uint16_t Type
 

Public Member Functions

 ValidFlags ()
 
 ValidFlags (int val)
 
 operator uint16_t () const
 
ValidFlagsoperator= (uint16_t val)
 
ValidFlagsoperator= (int val)
 
ValidFlagsoperator|= (uint16_t val)
 
ValidFlagsoperator&= (uint16_t val)
 
bool tow () const
 
void tow (bool val)
 
bool weekNumber () const
 
void weekNumber (bool val)
 
bool gnssId () const
 
void gnssId (bool val)
 
bool satelliteId () const
 
void satelliteId (bool val)
 
bool elevation () const
 
void elevation (bool val)
 
bool azimuth () const
 
void azimuth (bool val)
 
bool health () const
 
void health (bool val)
 
uint16_t flags () const
 
void flags (uint16_t val)
 
bool allSet () const
 
void setAll ()
 

Public Attributes

uint16_t value = NONE
 

Member Typedef Documentation

◆ Type

Member Enumeration Documentation

◆ _enumType

Enumerator
NONE 
TOW 
WEEK_NUMBER 
GNSS_ID 
SATELLITE_ID 
ELEVATION 
AZIMUTH 
HEALTH 
FLAGS 
ALL 

Constructor & Destructor Documentation

◆ ValidFlags() [1/2]

mip::data_gnss::SatelliteStatus::ValidFlags::ValidFlags ( )
inline

◆ ValidFlags() [2/2]

mip::data_gnss::SatelliteStatus::ValidFlags::ValidFlags ( int  val)
inline

Member Function Documentation

◆ allSet()

bool mip::data_gnss::SatelliteStatus::ValidFlags::allSet ( ) const
inline

◆ azimuth() [1/2]

bool mip::data_gnss::SatelliteStatus::ValidFlags::azimuth ( ) const
inline

◆ azimuth() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::azimuth ( bool  val)
inline

◆ elevation() [1/2]

bool mip::data_gnss::SatelliteStatus::ValidFlags::elevation ( ) const
inline

◆ elevation() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::elevation ( bool  val)
inline

◆ flags() [1/2]

uint16_t mip::data_gnss::SatelliteStatus::ValidFlags::flags ( ) const
inline

◆ flags() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::flags ( uint16_t  val)
inline

◆ gnssId() [1/2]

bool mip::data_gnss::SatelliteStatus::ValidFlags::gnssId ( ) const
inline

◆ gnssId() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::gnssId ( bool  val)
inline

◆ health() [1/2]

bool mip::data_gnss::SatelliteStatus::ValidFlags::health ( ) const
inline

◆ health() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::health ( bool  val)
inline

◆ operator uint16_t()

mip::data_gnss::SatelliteStatus::ValidFlags::operator uint16_t ( ) const
inline

◆ operator&=()

ValidFlags& mip::data_gnss::SatelliteStatus::ValidFlags::operator&= ( uint16_t  val)
inline

◆ operator=() [1/2]

ValidFlags& mip::data_gnss::SatelliteStatus::ValidFlags::operator= ( int  val)
inline

◆ operator=() [2/2]

ValidFlags& mip::data_gnss::SatelliteStatus::ValidFlags::operator= ( uint16_t  val)
inline

◆ operator|=()

ValidFlags& mip::data_gnss::SatelliteStatus::ValidFlags::operator|= ( uint16_t  val)
inline

◆ satelliteId() [1/2]

bool mip::data_gnss::SatelliteStatus::ValidFlags::satelliteId ( ) const
inline

◆ satelliteId() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::satelliteId ( bool  val)
inline

◆ setAll()

void mip::data_gnss::SatelliteStatus::ValidFlags::setAll ( )
inline

◆ tow() [1/2]

bool mip::data_gnss::SatelliteStatus::ValidFlags::tow ( ) const
inline

◆ tow() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::tow ( bool  val)
inline

◆ weekNumber() [1/2]

bool mip::data_gnss::SatelliteStatus::ValidFlags::weekNumber ( ) const
inline

◆ weekNumber() [2/2]

void mip::data_gnss::SatelliteStatus::ValidFlags::weekNumber ( bool  val)
inline

Member Data Documentation

◆ value

uint16_t mip::data_gnss::SatelliteStatus::ValidFlags::value = NONE

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