Monero
Loading...
Searching...
No Matches
hw::device_cold::tx_progress Class Reference

#include <device_cold.hpp>

Inheritance diagram for hw::device_cold::tx_progress:
Collaboration diagram for hw::device_cold::tx_progress:

Public Member Functions

 tx_progress ()
 tx_progress (size_t cur_tx, size_t max_tx, size_t cur_step, size_t max_step, size_t cur_substep, size_t max_substep)
double progress () const override
bool indeterminate () const override
Public Member Functions inherited from hw::device_cold::op_progress
 op_progress ()
 op_progress (double progress, bool indeterminate=false)

Protected Attributes

size_t m_cur_tx
size_t m_max_tx
size_t m_cur_step
size_t m_max_step
size_t m_cur_substep
size_t m_max_substep
Protected Attributes inherited from hw::device_cold::op_progress
double m_progress
bool m_indeterminate

Constructor & Destructor Documentation

◆ tx_progress() [1/2]

hw::device_cold::tx_progress::tx_progress ( )
inline

◆ tx_progress() [2/2]

hw::device_cold::tx_progress::tx_progress ( size_t cur_tx,
size_t max_tx,
size_t cur_step,
size_t max_step,
size_t cur_substep,
size_t max_substep )
inline

Member Function Documentation

◆ indeterminate()

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

Reimplemented from hw::device_cold::op_progress.

◆ progress()

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

Reimplemented from hw::device_cold::op_progress.

Member Data Documentation

◆ m_cur_step

size_t hw::device_cold::tx_progress::m_cur_step
protected

◆ m_cur_substep

size_t hw::device_cold::tx_progress::m_cur_substep
protected

◆ m_cur_tx

size_t hw::device_cold::tx_progress::m_cur_tx
protected

◆ m_max_step

size_t hw::device_cold::tx_progress::m_max_step
protected

◆ m_max_substep

size_t hw::device_cold::tx_progress::m_max_substep
protected

◆ m_max_tx

size_t hw::device_cold::tx_progress::m_max_tx
protected

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