UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
hds::ModuleProgress Class Reference

#include <hds_module_progress.hpp>

Public Member Functions

 ModuleProgress ()
 
virtual ~ModuleProgress ()
 
void show () const
 
void hide () const
 
void setValue (int val) const
 
void setRanges (int min, int max) const
 
void setStatus (const QString &status) const
 
void attachMessenger (const hds::Messenger &messenger)
 
void removeMessengers ()
 

Protected Attributes

QVector< const hds::Messenger * > m_messengers_ptrs
 

Detailed Description

Provides module progress control via attached messengers.

Constructor & Destructor Documentation

hds::ModuleProgress::ModuleProgress ( )

Default constructor.

virtual hds::ModuleProgress::~ModuleProgress ( )
virtual

Destructor.

Member Function Documentation

void hds::ModuleProgress::attachMessenger ( const hds::Messenger messenger)

Attach messenger (just copy a pointer, not the object).

void hds::ModuleProgress::hide ( ) const

Hide progress.

void hds::ModuleProgress::removeMessengers ( )

Remove all loggers from the module.

void hds::ModuleProgress::setRanges ( int  min,
int  max 
) const

Set progress ranges.

void hds::ModuleProgress::setStatus ( const QString &  status) const

Set status string.

void hds::ModuleProgress::setValue ( int  val) const

Set progress current value.

void hds::ModuleProgress::show ( ) const

Show progress.

Member Data Documentation

QVector<const hds::Messenger*> hds::ModuleProgress::m_messengers_ptrs
protected

Array of loggers pointers provided for the module.


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