Mocking output channel for unit test which stores the received data.
More...
#include <Imt.Base.Dff.ActiveParts.Test/ChannelMockOut.h>
Mocking output channel for unit test which stores the received data.
◆ getDataItem()
const DataContainer& imt::base::dff::activeparts::test::ChannelMockOut::getDataItem |
( |
const uint32_t |
index | ) |
|
Returns the element at the given index.
- Parameters
-
index | Index of the element to be returned. |
- Returns
- Reference to the requested data container.
◆ numberOfDataItemsReceived()
uint32_t imt::base::dff::activeparts::test::ChannelMockOut::numberOfDataItemsReceived |
( |
void |
| ) |
const |
Returns the number of received data items.
- Returns
- Number of received data items.
◆ popDataItem()
DataContainer imt::base::dff::activeparts::test::ChannelMockOut::popDataItem |
( |
void |
| ) |
|
Returns and removes the first element.
- Returns
- First data container.
◆ send()
virtual void imt::base::dff::activeparts::test::ChannelMockOut::send |
( |
const uint16_t |
protocolIdentifier, |
|
|
const imt::base::core::serialization::SerializableIfc *const |
pEventData, |
|
|
const int32_t |
eventDataSizeBytes = imt::base::dff::runtime::EVENTDATA_SIZE_BYTES |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file:
- D:/_Work/10/s/Imt.Base/Imt.Base.Dff.ActiveParts.Test/ChannelMockOut.h