#include <StatisticsModuleTests.h>
| StatisticsModuleTests::SwitchAdapterModuleMock::SwitchAdapterModuleMock |
( |
uint64_t |
instanceId | ) |
|
Constructs (but does not start) a switchadapter mock.
- Parameters
-
| instanceId | the switchId of the switch represented by this switchadapter mock. |
| StatisticsModuleTests::SwitchAdapterModuleMock::~SwitchAdapterModuleMock |
( |
| ) |
|
Destructor in case the Module isnt disabled correctly
| void StatisticsModuleTests::SwitchAdapterModuleMock::disable |
( |
| ) |
|
|
virtual |
Disables the ModuleMock.
- Returns
- true if disable was successful.
| bool StatisticsModuleTests::SwitchAdapterModuleMock::enable |
( |
| ) |
|
|
protectedvirtual |
Enables the ModuleMock.
- Returns
- true if enable was successful.
The documentation for this class was generated from the following files: