Electroneum
Public Member Functions | Protected Attributes | List of all members
hw::device_cold::op_progress Class Reference

#include <device_cold.hpp>

Inheritance diagram for hw::device_cold::op_progress:
Inheritance graph
[legend]
Collaboration diagram for hw::device_cold::op_progress:
Collaboration graph
[legend]

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
 

Constructor & Destructor Documentation

◆ op_progress() [1/2]

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

◆ op_progress() [2/2]

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

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.

◆ progress()

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

Reimplemented from hw::device_progress.

Reimplemented in hw::device_cold::tx_progress.

Member Data Documentation

◆ m_indeterminate

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

◆ m_progress

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

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