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

#include <commands_base.hpp>

Public Types

enum  FieldId : uint8_t { FieldId::WEEK_NUMBER = 1, FieldId::TIME_OF_WEEK = 2 }
 
typedef void Response
 

Public Member Functions

auto asTuple () const
 
auto asTuple ()
 
void insert (Serializer &serializer) const
 Serialization. More...
 
void extract (Serializer &serializer)
 

Static Public Member Functions

static GpsTimeUpdate create_sld_all (::mip::FunctionSelector function)
 

Public Attributes

FunctionSelector function = static_cast<FunctionSelector>(0)
 Parameters. More...
 
FieldId field_id = static_cast<FieldId>(0)
 Determines how to interpret value. More...
 
uint32_t value = 0
 Week number or time of week, depending on the field_id. More...
 

Static Public Attributes

static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_base::DESCRIPTOR_SET
 Descriptors. More...
 
static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_base::CMD_GPS_TIME_UPDATE
 
static constexpr const CompositeDescriptor DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
 
static constexpr const char * NAME = "GpsTimeUpdate"
 
static constexpr const char * DOC_NAME = "GPS Time Update Command"
 
static constexpr const bool HAS_FUNCTION_SELECTOR = true
 

Member Typedef Documentation

◆ Response

Member Enumeration Documentation

◆ FieldId

Enumerator
WEEK_NUMBER 

Week number.

TIME_OF_WEEK 

Time of week in seconds.

Member Function Documentation

◆ asTuple() [1/2]

auto mip::commands_base::GpsTimeUpdate::asTuple ( )
inline

◆ asTuple() [2/2]

auto mip::commands_base::GpsTimeUpdate::asTuple ( ) const
inline

◆ create_sld_all()

static GpsTimeUpdate mip::commands_base::GpsTimeUpdate::create_sld_all ( ::mip::FunctionSelector  function)
inlinestatic

◆ extract()

void mip::commands_base::GpsTimeUpdate::extract ( Serializer serializer)

◆ insert()

void mip::commands_base::GpsTimeUpdate::insert ( Serializer serializer) const

Serialization.

Member Data Documentation

◆ DESCRIPTOR

constexpr const CompositeDescriptor mip::commands_base::GpsTimeUpdate::DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
staticconstexpr

◆ DESCRIPTOR_SET

constexpr const uint8_t mip::commands_base::GpsTimeUpdate::DESCRIPTOR_SET = ::mip::commands_base::DESCRIPTOR_SET
staticconstexpr

Descriptors.

◆ DOC_NAME

constexpr const char* mip::commands_base::GpsTimeUpdate::DOC_NAME = "GPS Time Update Command"
staticconstexpr

◆ FIELD_DESCRIPTOR

constexpr const uint8_t mip::commands_base::GpsTimeUpdate::FIELD_DESCRIPTOR = ::mip::commands_base::CMD_GPS_TIME_UPDATE
staticconstexpr

◆ field_id

FieldId mip::commands_base::GpsTimeUpdate::field_id = static_cast<FieldId>(0)

Determines how to interpret value.

◆ function

FunctionSelector mip::commands_base::GpsTimeUpdate::function = static_cast<FunctionSelector>(0)

Parameters.

◆ HAS_FUNCTION_SELECTOR

constexpr const bool mip::commands_base::GpsTimeUpdate::HAS_FUNCTION_SELECTOR = true
staticconstexpr

◆ NAME

constexpr const char* mip::commands_base::GpsTimeUpdate::NAME = "GpsTimeUpdate"
staticconstexpr

◆ value

uint32_t mip::commands_base::GpsTimeUpdate::value = 0

Week number or time of week, depending on the field_id.


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