![]() |
GM6000 Digital Heater Controller Build: 20 (Branch = develop)
SDX-1330
|
This class implements a 'Mock' ScreenApi instances. More...
This class implements a 'Mock' ScreenApi instances.
The intended usage is for unit tests
#include <MockScreen.h>
Public Member Functions | |
| MockScreen (const char *name) | |
| Constructor. | |
| void | enter (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept |
| See Ajax::ScreenMgr::ScreenApi. | |
| void | exit (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept |
| See Ajax::ScreenMgr::ScreenApi. | |
| void | sleep (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept |
| See Ajax::ScreenMgr::ScreenApi. | |
| void | wake (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept |
| See Ajax::ScreenMgr::ScreenApi. | |
| void | dispatch (AjaxScreenMgrEvent_T event, Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept |
| See Ajax::ScreenMgr::ScreenApi. | |
| bool | tick (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept |
| See Ajax::ScreenMgr::ScreenApi. | |
| bool | refresh (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept |
| See Ajax::ScreenMgr::ScreenApi. | |
Public Member Functions inherited from Ajax::ScreenMgr::ScreenApi | |
| virtual | ~ScreenApi () |
| Virtual destructor. | |
Public Attributes | |
| const char * | m_name |
| Screen name. | |
| unsigned | m_enterCount |
| Call counter. | |
| unsigned | m_exitCount |
| Call counter. | |
| unsigned | m_sleepCount |
| Call counter. | |
| unsigned | m_wakeCount |
| Call counter. | |
| unsigned | m_dispatchCount |
| Call counter. | |
| unsigned | m_tickCount |
| Call counter. | |
| unsigned | m_refreshCount |
| Call counter. | |
| AjaxScreenMgrEvent_T | m_lastEvent |
| Last Event. | |
| Cpl::System::ElapsedTime::Precision_T | m_lastTimeStamp |
| Last Timestamp. | |
| bool | m_refreshResult |
| Return value for refresh. | |
| bool | m_tickResult |
| Return value for tick. | |
|
inline |
Constructor.
|
inlinevirtualnoexcept |
See Ajax::ScreenMgr::ScreenApi.
Implements Ajax::ScreenMgr::ScreenApi.
|
inlinevirtualnoexcept |
See Ajax::ScreenMgr::ScreenApi.
Implements Ajax::ScreenMgr::ScreenApi.
|
inlinevirtualnoexcept |
See Ajax::ScreenMgr::ScreenApi.
Implements Ajax::ScreenMgr::ScreenApi.
|
inlinevirtualnoexcept |
See Ajax::ScreenMgr::ScreenApi.
Implements Ajax::ScreenMgr::ScreenApi.
|
inlinevirtualnoexcept |
See Ajax::ScreenMgr::ScreenApi.
Implements Ajax::ScreenMgr::ScreenApi.
|
inlinevirtualnoexcept |
See Ajax::ScreenMgr::ScreenApi.
Implements Ajax::ScreenMgr::ScreenApi.
|
inlinevirtualnoexcept |
See Ajax::ScreenMgr::ScreenApi.
Implements Ajax::ScreenMgr::ScreenApi.
| unsigned Ajax::ScreenMgr::MockScreen::m_dispatchCount |
Call counter.
| unsigned Ajax::ScreenMgr::MockScreen::m_enterCount |
Call counter.
| unsigned Ajax::ScreenMgr::MockScreen::m_exitCount |
Call counter.
| AjaxScreenMgrEvent_T Ajax::ScreenMgr::MockScreen::m_lastEvent |
Last Event.
| Cpl::System::ElapsedTime::Precision_T Ajax::ScreenMgr::MockScreen::m_lastTimeStamp |
Last Timestamp.
| const char* Ajax::ScreenMgr::MockScreen::m_name |
Screen name.
| unsigned Ajax::ScreenMgr::MockScreen::m_refreshCount |
Call counter.
| bool Ajax::ScreenMgr::MockScreen::m_refreshResult |
Return value for refresh.
| unsigned Ajax::ScreenMgr::MockScreen::m_sleepCount |
Call counter.
| unsigned Ajax::ScreenMgr::MockScreen::m_tickCount |
Call counter.
| bool Ajax::ScreenMgr::MockScreen::m_tickResult |
Return value for tick.
| unsigned Ajax::ScreenMgr::MockScreen::m_wakeCount |
Call counter.