dronecode_sdk::Calibration::ProgressData Struct Reference

#include: calibration.h


Progress data coming from calibration.

Can be a progress percentage, or an instruction text.

Public Member Functions

Type Name Description
  ProgressData (const bool _has_progress, const float _progress, const bool _has_status_text, const std::string & _status_text)

Data Fields

bool has_progress - Whether or not this struct contains progress information.

float progress - The actual progress.

bool has_status_text - Whether or not this struct contains an instruction text.

std::string status_text - The actual instruction text.

Constructor & Destructor Documentation

ProgressData()

dronecode_sdk::Calibration::ProgressData::ProgressData(const bool _has_progress, const float _progress, const bool _has_status_text, const std::string &_status_text)

Constructor for ProgressData.

Parameters

  • const bool _has_progress - Whether or not this struct contains progress information.
  • const float _progress - The actual progress.
  • const bool _has_status_text - Whether or not this struct contains an instruction text.
  • const std::string& _status_text - The actual instruction text.

Field Documentation

has_progress

bool dronecode_sdk::Calibration::ProgressData::has_progress

Whether or not this struct contains progress information.

progress

float dronecode_sdk::Calibration::ProgressData::progress

The actual progress.

has_status_text

bool dronecode_sdk::Calibration::ProgressData::has_status_text

Whether or not this struct contains an instruction text.

status_text

std::string dronecode_sdk::Calibration::ProgressData::status_text

The actual instruction text.

© Dronecode 2017. License: CC BY 4.0            Updated: 2018-11-07 01:25:57

results matching ""

    No results matching ""