Scroom  0.14
InvalidatingCounter Class Reference
Inheritance diagram for InvalidatingCounter:
Inheritance graph
Collaboration diagram for InvalidatingCounter:
Collaboration graph

Public Member Functions

 InvalidatingCounter (const std::string &name, unsigned int secs)
 
bool operator() ()
 
- Public Member Functions inherited from BaseCounter
 BaseCounter (const std::string &name, unsigned int secs)
 
bool operator() ()
 

Constructor & Destructor Documentation

◆ InvalidatingCounter()

InvalidatingCounter::InvalidatingCounter ( const std::string &  name,
unsigned int  secs 
)
140  : BaseCounter(name_, secs_)
141 {
142 }

Member Function Documentation

◆ operator()()

bool InvalidatingCounter::operator() ( )
145 {
146  invalidate();
147  return BaseCounter::operator()();
148 }
Here is the call graph for this function:

The documentation for this class was generated from the following file:
BaseCounter::BaseCounter
BaseCounter(const std::string &name, unsigned int secs)
Definition: measure-framerate-tests.cc:103
BaseCounter::operator()
bool operator()()
Definition: measure-framerate-tests.cc:110
invalidate
void invalidate()
Definition: measure-framerate-callbacks.cc:100