#include <Fw/DataStructures/CircularIndex.hpp>
Definition at line 15 of file CircularIndex.hpp.
◆ CircularIndex() [1/3]
Fw::CircularIndex::CircularIndex |
( |
| ) |
|
|
inline |
◆ CircularIndex() [2/3]
Constructor with specified members.
- Parameters
-
modulus | The modulus |
value | The initial value |
Definition at line 25 of file CircularIndex.hpp.
◆ CircularIndex() [3/3]
◆ ~CircularIndex()
Fw::CircularIndex::~CircularIndex |
( |
| ) |
|
|
default |
◆ decrement()
Decrement the index value
- Returns
- The new value
- Parameters
-
amount | The amount by which to decrement |
Definition at line 92 of file CircularIndex.hpp.
◆ getModulus()
FwSizeType Fw::CircularIndex::getModulus |
( |
| ) |
const |
|
inline |
◆ getValue()
◆ increment()
Increment the index value
- Returns
- The new value
- Parameters
-
amount | The amount by which to increment |
Definition at line 82 of file CircularIndex.hpp.
◆ operator=()
◆ setModulus()
void Fw::CircularIndex::setModulus |
( |
FwSizeType |
modulus | ) |
|
|
inline |
◆ setValue()
void Fw::CircularIndex::setValue |
( |
FwSizeType |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: