ARB
Public Member Functions | Protected Attributes | List of all members
ArbProgress::counter Class Referenceabstract

#include <arb_progress.h>

Inheritance diagram for ArbProgress::counter:
Inheritance graph
[legend]
Collaboration diagram for ArbProgress::counter:
Collaboration graph
[legend]

Public Member Functions

 counter (nestable *owner)
 
virtual ~counter ()
 
virtual void inc ()=0
 
virtual void implicit_inc ()=0
 
virtual void inc_by (SINT count)=0
 
virtual void inc_to (SINT x)=0
 
virtual void inc_to_avoid_overflow (SINT x)=0
 
virtual void child_updates_gauge (double gauge)=0
 
virtual void done ()=0
 
virtual void force_update ()=0
 
virtual void auto_subtitles (const char *prefix)=0
 
virtual bool has_auto_subtitles ()=0
 
virtual void dump () const =0
 
virtual counterclone (nestable *owner, SINT overall_count) const =0
 
bool owned_by (const nestable *by) const
 
bool has_correct_ownership () const
 

Protected Attributes

nestableownedBy
 

Detailed Description

Definition at line 41 of file arb_progress.h.

Constructor & Destructor Documentation

ArbProgress::counter::counter ( nestable owner)
inline

Definition at line 46 of file arb_progress.h.

References arb_assert.

virtual ArbProgress::counter::~counter ( )
inlinevirtual

Definition at line 51 of file arb_progress.h.

References arb_assert, and has_correct_ownership().

Member Function Documentation

virtual void ArbProgress::counter::inc ( )
pure virtual

Implemented in no_counter, and null_counter.

Referenced by ArbProgress::nestable::inc().

virtual void ArbProgress::counter::implicit_inc ( )
pure virtual
virtual void ArbProgress::counter::inc_by ( SINT  count)
pure virtual
virtual void ArbProgress::counter::inc_to ( SINT  x)
pure virtual
virtual void ArbProgress::counter::inc_to_avoid_overflow ( SINT  x)
pure virtual
virtual void ArbProgress::counter::child_updates_gauge ( double  gauge)
pure virtual
virtual void ArbProgress::counter::done ( )
pure virtual

Implemented in null_counter.

Referenced by ArbProgress::nestable::done().

virtual void ArbProgress::counter::force_update ( )
pure virtual
virtual void ArbProgress::counter::auto_subtitles ( const char prefix)
pure virtual

Implemented in null_counter.

Referenced by ArbProgress::nestable::auto_subtitles().

virtual bool ArbProgress::counter::has_auto_subtitles ( )
pure virtual
virtual void ArbProgress::counter::dump ( ) const
pure virtual
virtual counter* ArbProgress::counter::clone ( nestable owner,
SINT  overall_count 
) const
pure virtual
bool ArbProgress::counter::owned_by ( const nestable by) const
inline
bool counter::has_correct_ownership ( ) const
inline

Definition at line 167 of file arb_progress.h.

References owned_by(), ownedBy, and ArbProgress::nestable::owns().

Referenced by ~counter().

Member Data Documentation

nestable* ArbProgress::counter::ownedBy
protected

Definition at line 43 of file arb_progress.h.

Referenced by has_correct_ownership().


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