Electroneum
hw::device_cold::op_progress Class Reference

#include <device_cold.hpp>

Inheritance diagram for hw::device_cold::op_progress:
Collaboration diagram for hw::device_cold::op_progress:

Public Member Functions

 op_progress ()
 
 op_progress (double progress, bool indeterminate=false)
 
double progress () const override
 
bool indeterminate () const override
 

Protected Attributes

double m_progress
 
bool m_indeterminate
 

Detailed Description

Definition at line 57 of file device_cold.hpp.

Constructor & Destructor Documentation

◆ op_progress() [1/2]

hw::device_cold::op_progress::op_progress ( )
inline

Definition at line 59 of file device_cold.hpp.

◆ op_progress() [2/2]

hw::device_cold::op_progress::op_progress ( double  progress,
bool  indeterminate = false 
)
inlineexplicit

Definition at line 60 of file device_cold.hpp.

Member Function Documentation

◆ indeterminate()

bool hw::device_cold::op_progress::indeterminate ( ) const
inlineoverridevirtual

Reimplemented from hw::device_progress.

Reimplemented in hw::device_cold::tx_progress.

Definition at line 63 of file device_cold.hpp.

◆ progress()

double hw::device_cold::op_progress::progress ( ) const
inlineoverridevirtual

Reimplemented from hw::device_progress.

Reimplemented in hw::device_cold::tx_progress.

Definition at line 62 of file device_cold.hpp.

62 { return m_progress; }

Member Data Documentation

◆ m_indeterminate

bool hw::device_cold::op_progress::m_indeterminate
protected

Definition at line 66 of file device_cold.hpp.

◆ m_progress

double hw::device_cold::op_progress::m_progress
protected

Definition at line 65 of file device_cold.hpp.


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