Dataflow Runtime API  2.7.4.0
Public Member Functions | Public Attributes | List of all members
imt::base::bsp::mock::ModuleMock Class Reference

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.
 

Detailed Description

Provides a mock implementation of the BSP module.


The documentation for this class was generated from the following file: