CFx SDK Documentation  2023 SP0
Classes | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
OdPerfTimerBase Class Referenceabstract

#include <OdPerfTimer.h>

Classes

struct  InternalData
 

Public Member Functions

 OdPerfTimerBase ()
 
virtual ~OdPerfTimerBase ()
 
virtual void initialize ()=0
 
virtual void destroy ()=0
 
virtual void clear ()=0
 
virtual void start ()=0
 
virtual void stop ()=0
 
virtual double countedSec ()=0
 
virtual OdUInt32 countedMSec ()=0
 
virtual double permanentSec ()=0
 
virtual OdUInt32 permanentMSec ()=0
 
virtual bool isStarted ()=0
 

Static Public Member Functions

static OdPerfTimerBasecreateTiming ()
 
static void destroyTiming (OdPerfTimerBase *ptr)
 

Protected Attributes

struct OdPerfTimerBase::InternalData gData
 
InternalDatadata
 

Detailed Description

This interface represents Performance Timer objects. <group Other_Classes>

Definition at line 38 of file OdPerfTimer.h.

Constructor & Destructor Documentation

◆ OdPerfTimerBase()

OdPerfTimerBase::OdPerfTimerBase ( )
inline

Definition at line 57 of file OdPerfTimer.h.

◆ ~OdPerfTimerBase()

virtual OdPerfTimerBase::~OdPerfTimerBase ( )
inlinevirtual

Definition at line 59 of file OdPerfTimer.h.

Member Function Documentation

◆ clear()

virtual void OdPerfTimerBase::clear ( )
pure virtual

Clears timer data

◆ countedMSec()

virtual OdUInt32 OdPerfTimerBase::countedMSec ( )
pure virtual

Returns time from start() to stop() in miliseconds

◆ countedSec()

virtual double OdPerfTimerBase::countedSec ( )
pure virtual

Returns time from start() to stop() in seconds

◆ createTiming()

static OdPerfTimerBase* OdPerfTimerBase::createTiming ( )
static

◆ destroy()

virtual void OdPerfTimerBase::destroy ( )
pure virtual

◆ destroyTiming()

static void OdPerfTimerBase::destroyTiming ( OdPerfTimerBase ptr)
static

◆ initialize()

virtual void OdPerfTimerBase::initialize ( )
pure virtual

◆ isStarted()

virtual bool OdPerfTimerBase::isStarted ( )
pure virtual

Returns true if timer is running

◆ permanentMSec()

virtual OdUInt32 OdPerfTimerBase::permanentMSec ( )
pure virtual

Returns time from start() to current in miliseconds

◆ permanentSec()

virtual double OdPerfTimerBase::permanentSec ( )
pure virtual

Returns time from start() to current in seconds

◆ start()

virtual void OdPerfTimerBase::start ( )
pure virtual

Starts timer

◆ stop()

virtual void OdPerfTimerBase::stop ( )
pure virtual

Stops timer

Member Data Documentation

◆ data

InternalData* OdPerfTimerBase::data
protected

Definition at line 55 of file OdPerfTimer.h.

◆ gData

struct OdPerfTimerBase::InternalData OdPerfTimerBase::gData
protected

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