Mock CPU class for testing.
More...
#include <mock_memory.h>
|
| MOCK_METHOD (void, UpdateClock,(double delta),(override)) |
|
| MOCK_METHOD (unsigned long long, GetCycleCount,(),(const, override)) |
|
| MOCK_METHOD (void, ResetAccumulatedTime,(),(override)) |
|
| MOCK_METHOD (void, SetFrequency,(float new_frequency),(override)) |
|
| MOCK_METHOD (float, GetFrequency,(),(const, override)) |
|
virtual | ~Clock ()=default |
|
virtual void | UpdateClock (double delta)=0 |
|
virtual unsigned long long | GetCycleCount () const =0 |
|
virtual void | ResetAccumulatedTime ()=0 |
|
virtual void | SetFrequency (float new_frequency)=0 |
|
virtual float | GetFrequency () const =0 |
|
Mock CPU class for testing.
Definition at line 19 of file mock_memory.h.
◆ MOCK_METHOD() [1/5]
yaze::app::emu::memory::MockClock::MOCK_METHOD |
( |
void | , |
|
|
UpdateClock | , |
|
|
(double delta) | , |
|
|
(override) | ) |
◆ MOCK_METHOD() [2/5]
yaze::app::emu::memory::MockClock::MOCK_METHOD |
( |
unsigned long long | , |
|
|
GetCycleCount | , |
|
|
() | , |
|
|
(const, override) | ) |
◆ MOCK_METHOD() [3/5]
◆ MOCK_METHOD() [4/5]
yaze::app::emu::memory::MockClock::MOCK_METHOD |
( |
void | , |
|
|
SetFrequency | , |
|
|
(float new_frequency) | , |
|
|
(override) | ) |
◆ MOCK_METHOD() [5/5]
yaze::app::emu::memory::MockClock::MOCK_METHOD |
( |
float | , |
|
|
GetFrequency | , |
|
|
() | , |
|
|
(const, override) | ) |
The documentation for this class was generated from the following file: