Fixposition SDK 0.0.0-heads/main-0-gde8559b
Collection of c++ libraries and apps for use with Fixposition products on Linux
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:
[legend]

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_ = 0
 Queue size.
 
uint32_t queue_peak_ = 0
 Queue peak size.
 
uint32_t queue_skip_ = 0
 Number of skipped messages (queue full)
 
uint32_t queue_bsize_ = 0
 Output queue size [bytes].
 
uint32_t queue_bpeak_ = 0
 Output queue peak size [bytes].
 
uint32_t log_count_ = 0
 Number of logged messages.
 
uint32_t log_errors_ = 0
 Number of messages failed to log (failed to write/send)
 
uint64_t log_size_ = 0
 Total size of logged messages [bytes].
 
uint32_t log_duration_ = 0
 Duration of logging [s].
 
uint32_t log_time_posix_ = 0
 Approximate time.
 
std::string log_time_iso_
 Approximate time.
 
int8_t pos_source_ = 0
 Approximate sensor position source (see POS_SOURCE_... below)
 
int8_t pos_fix_type_ = 0
 Approximate sensor position fix type (see fpsdk::common::gnss::GnssFixType)
 
double pos_lat_ = 0.0
 Approximate sensor position latitude [deg].
 
double pos_lon_ = 0.0
 Approximate sensor position longitude [deg].
 
double pos_height_ = 0.0
 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_ = 0

Queue size.

Definition at line 300 of file fpl.hpp.

◆ queue_peak_

uint32_t fpsdk::common::fpl::LogStatus::queue_peak_ = 0

Queue peak size.

Definition at line 301 of file fpl.hpp.

◆ queue_skip_

uint32_t fpsdk::common::fpl::LogStatus::queue_skip_ = 0

Number of skipped messages (queue full)

Definition at line 302 of file fpl.hpp.

◆ queue_bsize_

uint32_t fpsdk::common::fpl::LogStatus::queue_bsize_ = 0

Output queue size [bytes].

Definition at line 303 of file fpl.hpp.

◆ queue_bpeak_

uint32_t fpsdk::common::fpl::LogStatus::queue_bpeak_ = 0

Output queue peak size [bytes].

Definition at line 304 of file fpl.hpp.

◆ log_count_

uint32_t fpsdk::common::fpl::LogStatus::log_count_ = 0

Number of logged messages.

Definition at line 306 of file fpl.hpp.

◆ log_errors_

uint32_t fpsdk::common::fpl::LogStatus::log_errors_ = 0

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

Definition at line 307 of file fpl.hpp.

◆ log_size_

uint64_t fpsdk::common::fpl::LogStatus::log_size_ = 0

Total size of logged messages [bytes].

Definition at line 308 of file fpl.hpp.

◆ log_duration_

uint32_t fpsdk::common::fpl::LogStatus::log_duration_ = 0

Duration of logging [s].

Definition at line 309 of file fpl.hpp.

◆ log_time_posix_

uint32_t fpsdk::common::fpl::LogStatus::log_time_posix_ = 0

Approximate time.

Definition at line 312 of file fpl.hpp.

◆ log_time_iso_

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

Approximate time.

Definition at line 313 of file fpl.hpp.

◆ pos_source_

int8_t fpsdk::common::fpl::LogStatus::pos_source_ = 0

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

Definition at line 314 of file fpl.hpp.

◆ pos_fix_type_

int8_t fpsdk::common::fpl::LogStatus::pos_fix_type_ = 0

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

Definition at line 315 of file fpl.hpp.

◆ pos_lat_

double fpsdk::common::fpl::LogStatus::pos_lat_ = 0.0

Approximate sensor position latitude [deg].

Definition at line 316 of file fpl.hpp.

◆ pos_lon_

double fpsdk::common::fpl::LogStatus::pos_lon_ = 0.0

Approximate sensor position longitude [deg].

Definition at line 317 of file fpl.hpp.

◆ pos_height_

double fpsdk::common::fpl::LogStatus::pos_height_ = 0.0

Approximate sensor position height [m].

Definition at line 318 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 320 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 321 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 322 of file fpl.hpp.

◆ yaml_

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

Raw status data YAML.

Definition at line 324 of file fpl.hpp.


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