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

#include <data_shared.hpp>

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

Public Types

enum  _enumType : uint16_t { NONE = 0x0000, DT_NANOS = 0x0001, ALL = 0x0001 }
 
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 dtNanos () const
 
void dtNanos (bool val)
 
bool allSet () const
 
void setAll ()
 

Public Attributes

uint16_t value = NONE
 

Member Typedef Documentation

◆ Type

Member Enumeration Documentation

◆ _enumType

Enumerator
NONE 
DT_NANOS 
ALL 

Constructor & Destructor Documentation

◆ ValidFlags() [1/2]

mip::data_shared::ExternalTimeDelta::ValidFlags::ValidFlags ( )
inline

◆ ValidFlags() [2/2]

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

Member Function Documentation

◆ allSet()

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

◆ dtNanos() [1/2]

bool mip::data_shared::ExternalTimeDelta::ValidFlags::dtNanos ( ) const
inline

◆ dtNanos() [2/2]

void mip::data_shared::ExternalTimeDelta::ValidFlags::dtNanos ( bool  val)
inline

◆ operator uint16_t()

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

◆ operator&=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator|=()

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

◆ setAll()

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

Member Data Documentation

◆ value

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

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