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

#include <data_shared.hpp>

Inheritance diagram for mip::data_shared::GpsTimestamp::ValidFlags:
mip::Bitfield< ValidFlags >

Public Types

enum  _enumType : uint16_t {
  NONE = 0x0000, TOW = 0x0001, WEEK_NUMBER = 0x0002, TIME_VALID = 0x0003,
  ALL = 0x0003
}
 
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)
 
uint16_t timeValid () const
 
void timeValid (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 

Whole number seconds TOW has been set.

WEEK_NUMBER 

Week number has been set.

TIME_VALID 

Both TOW and Week Number have been set.

ALL 

Constructor & Destructor Documentation

◆ ValidFlags() [1/2]

mip::data_shared::GpsTimestamp::ValidFlags::ValidFlags ( )
inline

◆ ValidFlags() [2/2]

mip::data_shared::GpsTimestamp::ValidFlags::ValidFlags ( int  val)
inline

Member Function Documentation

◆ allSet()

bool mip::data_shared::GpsTimestamp::ValidFlags::allSet ( ) const
inline

◆ operator uint16_t()

mip::data_shared::GpsTimestamp::ValidFlags::operator uint16_t ( ) const
inline

◆ operator&=()

ValidFlags& mip::data_shared::GpsTimestamp::ValidFlags::operator&= ( uint16_t  val)
inline

◆ operator=() [1/2]

ValidFlags& mip::data_shared::GpsTimestamp::ValidFlags::operator= ( int  val)
inline

◆ operator=() [2/2]

ValidFlags& mip::data_shared::GpsTimestamp::ValidFlags::operator= ( uint16_t  val)
inline

◆ operator|=()

ValidFlags& mip::data_shared::GpsTimestamp::ValidFlags::operator|= ( uint16_t  val)
inline

◆ setAll()

void mip::data_shared::GpsTimestamp::ValidFlags::setAll ( )
inline

◆ timeValid() [1/2]

uint16_t mip::data_shared::GpsTimestamp::ValidFlags::timeValid ( ) const
inline

◆ timeValid() [2/2]

void mip::data_shared::GpsTimestamp::ValidFlags::timeValid ( uint16_t  val)
inline

◆ tow() [1/2]

bool mip::data_shared::GpsTimestamp::ValidFlags::tow ( ) const
inline

◆ tow() [2/2]

void mip::data_shared::GpsTimestamp::ValidFlags::tow ( bool  val)
inline

◆ weekNumber() [1/2]

bool mip::data_shared::GpsTimestamp::ValidFlags::weekNumber ( ) const
inline

◆ weekNumber() [2/2]

void mip::data_shared::GpsTimestamp::ValidFlags::weekNumber ( bool  val)
inline

Member Data Documentation

◆ value

uint16_t mip::data_shared::GpsTimestamp::ValidFlags::value = NONE

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