OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
ExecutionBarrierFrequencyAndLast.h
Go to the documentation of this file.
1
#pragma once
2
#include "
ExecutionBarrier.h
"
3
4
class
ExecutionBarrierFrequencyAndLast
:
public
ExecutionBarrier
5
{
6
public
:
7
ExecutionBarrierFrequencyAndLast
(
int
frequency,
int
lastTimeStep) :
8
_executionFrequency(frequency), _lastTimeStep(lastTimeStep) {}
9
virtual
bool
AllowExecution
(
int
currentTimestep)
override
;
10
11
private
:
12
int
_executionFrequency;
13
int
_lastTimeStep;
14
};
15
ExecutionBarrier.h
ExecutionBarrierFrequencyAndLast
Definition
ExecutionBarrierFrequencyAndLast.h:5
ExecutionBarrierFrequencyAndLast::ExecutionBarrierFrequencyAndLast
ExecutionBarrierFrequencyAndLast(int frequency, int lastTimeStep)
Definition
ExecutionBarrierFrequencyAndLast.h:7
ExecutionBarrierFrequencyAndLast::AllowExecution
virtual bool AllowExecution(int currentTimestep) override
Definition
ExecutionBarrierFrequencyAndLast.cpp:3
ExecutionBarrier
Definition
ExecutionBarrier.h:4
Services
FITTDService
include
ResultHandling
ExecutionBarrierFrequencyAndLast.h
Generated by
1.10.0