OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ResultCollectionExtenderMockUp.h
Go to the documentation of this file.
1#pragma once
3#include <list>
4class ResultCollectionExtenderMockUp : public ResultCollectionExtender
5{
8 {
9 m_indices = { 31,32,33,34, 35, 36,37,38,39,40 };
10 }
11private:
12 std::list<uint64_t> m_indices;
13 uint64_t getLastIndex()
14 {
15 uint64_t index = m_indices.back();
16 m_indices.pop_back();
17 return index;
18 }
19 const uint64_t findNextFreeSeriesIndex() override { return getLastIndex(); };
20 const uint64_t findNextFreeQuantityIndex() override { return getLastIndex(); };
21 const uint64_t findNextFreeParameterIndex() override { return getLastIndex(); };
22};
Definition FixtureResultCollectionExtender.h:6
Definition ResultCollectionExtenderMockUp.h:5
const uint64_t findNextFreeSeriesIndex() override
Definition ResultCollectionExtenderMockUp.h:19
const uint64_t findNextFreeParameterIndex() override
Definition ResultCollectionExtenderMockUp.h:21
const uint64_t findNextFreeQuantityIndex() override
Definition ResultCollectionExtenderMockUp.h:20