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::DgpsChannel::ValidFlags Struct Reference

#include <data_gnss.hpp>

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

Public Types

enum  _enumType : uint16_t {
  NONE = 0x0000, ID = 0x0001, AGE = 0x0002, RANGE_CORRECTION = 0x0004,
  RANGE_RATE_CORRECTION = 0x0008, FLAGS = 0x000F, ALL = 0x000F
}
 
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 id () const
 
void id (bool val)
 
bool age () const
 
void age (bool val)
 
bool rangeCorrection () const
 
void rangeCorrection (bool val)
 
bool rangeRateCorrection () const
 
void rangeRateCorrection (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 
ID 
AGE 
RANGE_CORRECTION 
RANGE_RATE_CORRECTION 
FLAGS 
ALL 

Constructor & Destructor Documentation

◆ ValidFlags() [1/2]

mip::data_gnss::DgpsChannel::ValidFlags::ValidFlags ( )
inline

◆ ValidFlags() [2/2]

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

Member Function Documentation

◆ age() [1/2]

bool mip::data_gnss::DgpsChannel::ValidFlags::age ( ) const
inline

◆ age() [2/2]

void mip::data_gnss::DgpsChannel::ValidFlags::age ( bool  val)
inline

◆ allSet()

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

◆ flags() [1/2]

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

◆ flags() [2/2]

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

◆ id() [1/2]

bool mip::data_gnss::DgpsChannel::ValidFlags::id ( ) const
inline

◆ id() [2/2]

void mip::data_gnss::DgpsChannel::ValidFlags::id ( bool  val)
inline

◆ operator uint16_t()

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

◆ operator&=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator|=()

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

◆ rangeCorrection() [1/2]

bool mip::data_gnss::DgpsChannel::ValidFlags::rangeCorrection ( ) const
inline

◆ rangeCorrection() [2/2]

void mip::data_gnss::DgpsChannel::ValidFlags::rangeCorrection ( bool  val)
inline

◆ rangeRateCorrection() [1/2]

bool mip::data_gnss::DgpsChannel::ValidFlags::rangeRateCorrection ( ) const
inline

◆ rangeRateCorrection() [2/2]

void mip::data_gnss::DgpsChannel::ValidFlags::rangeRateCorrection ( bool  val)
inline

◆ setAll()

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

Member Data Documentation

◆ value

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

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