Scroom 0.14-49-gb7ae7a6d
Loading...
Searching...
No Matches
ProgressInterfaceStub Class Reference

#include <measure-framerate-stubs.hh>

Inheritance diagram for ProgressInterfaceStub:
Inheritance graph
Collaboration diagram for ProgressInterfaceStub:
Collaboration graph

Public Types

using Ptr = std::shared_ptr< ProgressInterfaceStub >
 
- Public Types inherited from ProgressInterface
using Ptr = std::shared_ptr< ProgressInterface >
 
using WeakPtr = std::weak_ptr< ProgressInterface >
 

Public Member Functions

bool isFinished () const
 
void setIdle () override
 
void setWaiting (double) override
 
void setWorking (double) override
 
void setFinished () override
 

Static Public Member Functions

static Ptr create ()
 

Private Member Functions

 ProgressInterfaceStub ()=default
 

Private Attributes

bool finished {false}
 

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ProgressInterfaceStub()

ProgressInterfaceStub::ProgressInterfaceStub ( )
privatedefault

Referenced by create().

Here is the caller graph for this function:

Member Function Documentation

◆ create()

ProgressInterfaceStub::Ptr ProgressInterfaceStub::create ( )
static
14{ return Ptr(new ProgressInterfaceStub()); }
ProgressInterfaceStub()=default
std::shared_ptr< ProgressInterfaceStub > Ptr
Definition measure-framerate-stubs.hh:25
Here is the call graph for this function:

◆ isFinished()

bool ProgressInterfaceStub::isFinished ( ) const
18{ return finished; }
bool finished
Definition measure-framerate-stubs.hh:28

◆ setFinished()

void ProgressInterfaceStub::setFinished ( )
overridevirtual

Implements ProgressInterface.

16{ finished = true; }

◆ setIdle()

void ProgressInterfaceStub::setIdle ( )
inlineoverridevirtual

Implements ProgressInterface.

39{}

◆ setWaiting()

void ProgressInterfaceStub::setWaiting ( double  )
inlineoverridevirtual

Implements ProgressInterface.

40{}

◆ setWorking()

void ProgressInterfaceStub::setWorking ( double  )
inlineoverridevirtual

Implements ProgressInterface.

41{}

Member Data Documentation

◆ finished

bool ProgressInterfaceStub::finished {false}
private
28{false};

Referenced by isFinished(), and setFinished().


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