Fixposition SDK 0.0.0-heads/main-0-g7b59b93
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
fpsdk::common::fpl::LogStatus Struct Reference

Helper for extracting recording status data. More...

#include <fpl.hpp>

Collaboration diagram for fpsdk::common::fpl::LogStatus:

Public Member Functions

 LogStatus (const FplMessage &log_msg)
 Constructor.
 

Public Attributes

bool valid_
 Data valid, successfully extracted from message.
 
std::string info_
 Stringification of (some of the) data, for debugging.
 
std::string state_
 Logging state: "stopped", "logging", "stopping".
 
uint32_t queue_size_
 Queue size.
 
uint32_t queue_peak_
 Queue peak size.
 
uint32_t queue_skip_
 Number of skipped messages (queue full)
 
uint32_t log_count_
 Number of logged messages.
 
uint32_t log_errors_
 Number of messages failed to log (failed to write/send)
 
uint64_t log_size_
 Total size of logged messages [bytes].
 
uint32_t log_duration_
 Duration of logging [s].
 
uint32_t log_time_posix_
 Approximate time.
 
std::string log_time_iso_
 Approximate time.
 
int8_t pos_source_
 Approximate sensor position source (see POS_SOURCE_... below)
 
int8_t pos_fix_type_
 Approximate sensor position fix type (see fpsdk::common::types::GnssFixType)
 
double pos_lat_
 Approximate sensor position latitude [deg].
 
double pos_lon_
 Approximate sensor position longitude [deg].
 
double pos_height_
 Approximate sensor position height [m].
 
std::string yaml_
 Raw status data YAML.
 

Static Public Attributes

static constexpr int8_t POS_SOURCE_UNKNOWN = 0
 Position source unknown resp. not available.
 
static constexpr int8_t POS_SOURCE_GNSS = 1
 Position source is GNSS.
 
static constexpr int8_t POS_SOURCE_FUSION = 2
 Position source is Fusion.
 

Detailed Description

Helper for extracting recording status data.

Definition at line 287 of file fpl.hpp.

Constructor & Destructor Documentation

◆ LogStatus()

fpsdk::common::fpl::LogStatus::LogStatus ( const FplMessage & log_msg)

Constructor.

Parameters
[in]log_msg.fpl log message

Member Data Documentation

◆ valid_

bool fpsdk::common::fpl::LogStatus::valid_

Data valid, successfully extracted from message.

Definition at line 295 of file fpl.hpp.

◆ info_

std::string fpsdk::common::fpl::LogStatus::info_

Stringification of (some of the) data, for debugging.

Definition at line 298 of file fpl.hpp.

◆ state_

std::string fpsdk::common::fpl::LogStatus::state_

Logging state: "stopped", "logging", "stopping".

Definition at line 299 of file fpl.hpp.

◆ queue_size_

uint32_t fpsdk::common::fpl::LogStatus::queue_size_

Queue size.

Definition at line 300 of file fpl.hpp.

◆ queue_peak_

uint32_t fpsdk::common::fpl::LogStatus::queue_peak_

Queue peak size.

Definition at line 301 of file fpl.hpp.

◆ queue_skip_

uint32_t fpsdk::common::fpl::LogStatus::queue_skip_

Number of skipped messages (queue full)

Definition at line 302 of file fpl.hpp.

◆ log_count_

uint32_t fpsdk::common::fpl::LogStatus::log_count_

Number of logged messages.

Definition at line 303 of file fpl.hpp.

◆ log_errors_

uint32_t fpsdk::common::fpl::LogStatus::log_errors_

Number of messages failed to log (failed to write/send)

Definition at line 304 of file fpl.hpp.

◆ log_size_

uint64_t fpsdk::common::fpl::LogStatus::log_size_

Total size of logged messages [bytes].

Definition at line 305 of file fpl.hpp.

◆ log_duration_

uint32_t fpsdk::common::fpl::LogStatus::log_duration_

Duration of logging [s].

Definition at line 306 of file fpl.hpp.

◆ log_time_posix_

uint32_t fpsdk::common::fpl::LogStatus::log_time_posix_

Approximate time.

Definition at line 309 of file fpl.hpp.

◆ log_time_iso_

std::string fpsdk::common::fpl::LogStatus::log_time_iso_

Approximate time.

Definition at line 310 of file fpl.hpp.

◆ pos_source_

int8_t fpsdk::common::fpl::LogStatus::pos_source_

Approximate sensor position source (see POS_SOURCE_... below)

Definition at line 311 of file fpl.hpp.

◆ pos_fix_type_

int8_t fpsdk::common::fpl::LogStatus::pos_fix_type_

Approximate sensor position fix type (see fpsdk::common::types::GnssFixType)

Definition at line 312 of file fpl.hpp.

◆ pos_lat_

double fpsdk::common::fpl::LogStatus::pos_lat_

Approximate sensor position latitude [deg].

Definition at line 313 of file fpl.hpp.

◆ pos_lon_

double fpsdk::common::fpl::LogStatus::pos_lon_

Approximate sensor position longitude [deg].

Definition at line 314 of file fpl.hpp.

◆ pos_height_

double fpsdk::common::fpl::LogStatus::pos_height_

Approximate sensor position height [m].

Definition at line 315 of file fpl.hpp.

◆ POS_SOURCE_UNKNOWN

int8_t fpsdk::common::fpl::LogStatus::POS_SOURCE_UNKNOWN = 0
staticconstexpr

Position source unknown resp. not available.

Definition at line 317 of file fpl.hpp.

◆ POS_SOURCE_GNSS

int8_t fpsdk::common::fpl::LogStatus::POS_SOURCE_GNSS = 1
staticconstexpr

Position source is GNSS.

Definition at line 318 of file fpl.hpp.

◆ POS_SOURCE_FUSION

int8_t fpsdk::common::fpl::LogStatus::POS_SOURCE_FUSION = 2
staticconstexpr

Position source is Fusion.

Definition at line 319 of file fpl.hpp.

◆ yaml_

std::string fpsdk::common::fpl::LogStatus::yaml_

Raw status data YAML.

Definition at line 321 of file fpl.hpp.


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