OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ExecutionBarrierFixedTimesteps.h
Go to the documentation of this file.
1#pragma once
2#include "ExecutionBarrier.h"
3#include <list>
4
6{
7public:
8 ExecutionBarrierFixedTimesteps(std::list<int> timeSteps)
9 : _executionTimeSteps(timeSteps){}
10
11 virtual bool AllowExecution(int currentTimestep) override;
12private:
13 std::list<int> _executionTimeSteps;
14};
Definition ExecutionBarrierFixedTimesteps.h:6
virtual bool AllowExecution(int currentTimestep) override
Definition ExecutionBarrierFixedTimesteps.cpp:3
ExecutionBarrierFixedTimesteps(std::list< int > timeSteps)
Definition ExecutionBarrierFixedTimesteps.h:8
Definition ExecutionBarrier.h:4