Scheduler
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
utils
countingWheel.h
Go to the documentation of this file.
1
10
#ifndef COUNTING_WHEEL_H
11
#define COUNTING_WHEEL_H
12
13
namespace
Utils
14
{
15
16
class
CountingWheel
17
{
18
public
:
19
CountingWheel
(
unsigned
int
base);
20
void
initialize
();
21
bool
increment
();
22
unsigned
int
getValue
();
23
unsigned
int
getBase
();
24
private
:
25
unsigned
int
base;
26
unsigned
int
value{0};
27
};
28
29
}
30
31
#endif
Utils::CountingWheel::initialize
void initialize()
Definition:
countingWheel.cpp:20
Utils::CountingWheel
Definition:
countingWheel.h:16
Utils::CountingWheel::CountingWheel
CountingWheel(unsigned int base)
Definition:
countingWheel.cpp:16
Utils::CountingWheel::getBase
unsigned int getBase()
Definition:
countingWheel.cpp:45
Utils::CountingWheel::increment
bool increment()
Definition:
countingWheel.cpp:25
Utils
Definition:
context.h:16
Utils::CountingWheel::getValue
unsigned int getValue()
Definition:
countingWheel.cpp:38
Generated on Sun Nov 26 2017 17:01:36 for Scheduler by
1.8.11