![]() |
Dataflow Runtime API
2.7.4.0
|
Provides a mock implementation of the BSP module. More...
#include <Imt.Base.BSP.Mock/ModuleMock.h>
Public Member Functions | |
ModuleMock () | |
Constructor. | |
virtual | ~ModuleMock () |
Destructor. | |
Public Attributes | |
DriverMock | m_driver [NUMBER_OF_DRIVERS_MAX] {} |
Mocks of all the drivers. | |
uint32_t | m_calibrateInvokeCounter { 0U } |
Number of calls to the calibrate() functino. | |
imt::base::bsp::type::ErrorCode::Id | m_calibrateReturnValue { imt::base::bsp::type::ErrorCode::OK } |
Return value of the calibrate() function. | |
uint32_t | m_enableInvokeCounter { 0U } |
Number of calls to the onEnable() function. | |
uint32_t | m_initializeInvokeCounter { 0U } |
Number of calls to the onInitialize() function. | |
uint32_t | m_startInvokeCounter { 0U } |
Number of calls to the onStart() function. | |
imt::base::bsp::type::ErrorCode::Id | m_startReturnValue { imt::base::bsp::type::ErrorCode::OK } |
Return value of the onStart() function. | |
uint32_t | m_stopInvokeCounter { 0U } |
Number of calls to the onStop() function. | |
imt::base::bsp::type::ErrorCode::Id | m_stopReturnValue { imt::base::bsp::type::ErrorCode::OK } |
Return value of the onStop() function. | |
Provides a mock implementation of the BSP module.