MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Public Types | Public Member Functions | Public Attributes | List of all members
mip::data_gnss::UtcTime::ValidFlags Struct Reference

#include <data_gnss.hpp>

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

Public Types

enum  _enumType : uint16_t {
  NONE = 0x0000, GNSS_DATE_TIME = 0x0001, LEAP_SECONDS_KNOWN = 0x0002, FLAGS = 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 gnssDateTime () const
 
void gnssDateTime (bool val)
 
bool leapSecondsKnown () const
 
void leapSecondsKnown (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 
GNSS_DATE_TIME 
LEAP_SECONDS_KNOWN 
FLAGS 
ALL 

Constructor & Destructor Documentation

◆ ValidFlags() [1/2]

mip::data_gnss::UtcTime::ValidFlags::ValidFlags ( )
inline

◆ ValidFlags() [2/2]

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

Member Function Documentation

◆ allSet()

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

◆ flags() [1/2]

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

◆ flags() [2/2]

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

◆ gnssDateTime() [1/2]

bool mip::data_gnss::UtcTime::ValidFlags::gnssDateTime ( ) const
inline

◆ gnssDateTime() [2/2]

void mip::data_gnss::UtcTime::ValidFlags::gnssDateTime ( bool  val)
inline

◆ leapSecondsKnown() [1/2]

bool mip::data_gnss::UtcTime::ValidFlags::leapSecondsKnown ( ) const
inline

◆ leapSecondsKnown() [2/2]

void mip::data_gnss::UtcTime::ValidFlags::leapSecondsKnown ( bool  val)
inline

◆ operator uint16_t()

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

◆ operator&=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator|=()

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

◆ setAll()

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

Member Data Documentation

◆ value

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

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