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

#include <data_gnss.hpp>

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

Public Types

enum  _enumType : uint16_t {
  NONE = 0x0000, SENSOR_STATE = 0x0001, ANTENNA_STATE = 0x0002, ANTENNA_POWER = 0x0004,
  FLAGS = 0x0007, ALL = 0x0007
}
 
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 sensorState () const
 
void sensorState (bool val)
 
bool antennaState () const
 
void antennaState (bool val)
 
bool antennaPower () const
 
void antennaPower (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 
SENSOR_STATE 
ANTENNA_STATE 
ANTENNA_POWER 
FLAGS 
ALL 

Constructor & Destructor Documentation

◆ ValidFlags() [1/2]

mip::data_gnss::HwStatus::ValidFlags::ValidFlags ( )
inline

◆ ValidFlags() [2/2]

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

Member Function Documentation

◆ allSet()

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

◆ antennaPower() [1/2]

bool mip::data_gnss::HwStatus::ValidFlags::antennaPower ( ) const
inline

◆ antennaPower() [2/2]

void mip::data_gnss::HwStatus::ValidFlags::antennaPower ( bool  val)
inline

◆ antennaState() [1/2]

bool mip::data_gnss::HwStatus::ValidFlags::antennaState ( ) const
inline

◆ antennaState() [2/2]

void mip::data_gnss::HwStatus::ValidFlags::antennaState ( bool  val)
inline

◆ flags() [1/2]

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

◆ flags() [2/2]

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

◆ operator uint16_t()

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

◆ operator&=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator|=()

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

◆ sensorState() [1/2]

bool mip::data_gnss::HwStatus::ValidFlags::sensorState ( ) const
inline

◆ sensorState() [2/2]

void mip::data_gnss::HwStatus::ValidFlags::sensorState ( bool  val)
inline

◆ setAll()

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

Member Data Documentation

◆ value

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

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