coral
A C++ library for distributed co-simulation
execution_options.hpp
Go to the documentation of this file.
1 
10 #ifndef CORAL_MASTER_EXECUTION_OPTIONS_HPP
11 #define CORAL_MASTER_EXECUTION_OPTIONS_HPP
12 
13 #include <chrono>
14 #include "coral/model.hpp"
15 
16 
17 namespace coral
18 {
19 namespace master
20 {
21 
22 
23 struct ExecutionOptions
24 {
26  coral::model::TimePoint startTime = 0.0;
27 
39 
46  std::chrono::milliseconds slaveVariableRecvTimeout = std::chrono::seconds(1);
47 };
48 
49 
50 }} // namespace
51 #endif // header guard
Definition: variable_io.hpp:28
const TimePoint ETERNITY
A special TimePoint value that lies infinitely far in the future.
Definition: model.hpp:46
Main module header for coral::model.
double TimePoint
The type used to specify (simulation) time points.
Definition: model.hpp:42