Mass++ Common Libraries v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations Macros
Public Member Functions | Protected Member Functions | List of all members
kome::core::IgnoringProgress Class Reference

Progress object. Even if a method is called, it disgards it. More...

#include <Progress.h>

Inheritance diagram for kome::core::IgnoringProgress:
Inheritance graph
[legend]
Collaboration diagram for kome::core::IgnoringProgress:
Collaboration graph
[legend]

Public Member Functions

 IgnoringProgress ()
 constructor
 
virtual ~IgnoringProgress ()
 destructor
 
- Public Member Functions inherited from kome::core::Progress
 Progress (const char *title=NULL)
 constructor More...
 
virtual ~Progress ()
 destructor
 
void setRange (const int start, const int end)
 sets progress range More...
 
void setPosition (const int pos, const bool bForced=false)
 sets progress position More...
 
void setStatus (const char *status, const bool bForced=false)
 sets status More...
 
bool isStopped ()
 judges whether it has to finish More...
 
void fill ()
 sets end position
 
int getRelativePosition ()
 gets relative position More...
 
TimercreateTimer (const char *name)
 creates timer More...
 
unsigned int getNumberOfTimers ()
 gets the number of timers More...
 
const char * getTimerName (const unsigned int index)
 gets timer name More...
 
TimergetTimer (const unsigned int index)
 gets timer More...
 
void createSubProgresses (const unsigned int num)
 creates sub progresses More...
 
unsigned int getNumberOfSubProgresses ()
 gets the number of sub progresses More...
 
ProgressgetSubProgress (const unsigned int idx)
 gets subprogress More...
 

Protected Member Functions

virtual void onSetRange (const int, const int)
 This method is called by setRange method. (override method)
 
virtual void onSetPosition (const int, const int)
 This method is called by setPosition method. (override method)
 
virtual void onSetStatus (const char *, const bool bForced=false)
 This method is called by setStatus method. (override method) More...
 
virtual bool onIsStopped ()
 This method is called by isStopped method. (override method) More...
 
virtual void onFill (void)
 This method is called by fill method. (override method)
 

Additional Inherited Members

- Static Public Member Functions inherited from kome::core::Progress
static ProgressgetIgnoringProgress ()
 gets progress object. But this object does nothing even if a method is called. More...
 
- Protected Attributes inherited from kome::core::Progress
std::vector< Progress * > m_subProgresses
 
int m_start
 
int m_end
 
int m_pos
 
int m_prevPos
 
int m_relPos
 
std::string m_title
 
Timer m_timer
 
std::vector< std::pair
< std::string, Timer * > > * 
m_timers
 
long long m_llPrevTime
 
std::string m_strStatus
 

Detailed Description

Progress object. Even if a method is called, it disgards it.

Definition at line 238 of file Progress.h.

Member Function Documentation

bool kome::core::IgnoringProgress::onIsStopped ( )
protectedvirtual

This method is called by isStopped method. (override method)

Returns
If it has to finish, this method returns true

Implements kome::core::Progress.

Definition at line 375 of file Progress.cpp.

375  {
376  return false;
377 }
void kome::core::IgnoringProgress::onSetStatus ( const char *  ,
const bool  bForced = false 
)
protectedvirtual

This method is called by setStatus method. (override method)

Parameters
[in]bForcedflag for drawing forced

Implements kome::core::Progress.

Definition at line 371 of file Progress.cpp.

371  {
372 }

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