coral
A C++ library for distributed co-simulation
Main Page
Namespaces
Classes
Files
File List
File Members
coral
bus
slave_setup.hpp
Go to the documentation of this file.
1
10
#ifndef CORAL_BUS_SLAVE_SETUP_HPP
11
#define CORAL_BUS_SLAVE_SETUP_HPP
12
13
#include <chrono>
14
#include "
coral/model.hpp
"
15
16
17
namespace
coral
18
{
19
namespace
bus
20
{
21
22
27
struct
SlaveSetup
28
{
29
SlaveSetup
();
30
SlaveSetup
(
31
coral::model::TimePoint
startTime,
32
coral::model::TimePoint
stopTime,
33
const
std::string
& executionName,
34
std::chrono::milliseconds
variableRecvTimeout
);
35
coral::model::TimePoint
startTime;
36
coral::model::TimePoint
stopTime;
37
std::string
executionName;
38
44
std::chrono::milliseconds
variableRecvTimeout
;
45
};
46
47
48
}}
// namespace
49
#endif // header guard
std::chrono::milliseconds
coral::bus::SlaveSetup
Configuration data which is sent to each slave as they are added to the simulation.
Definition:
slave_setup.hpp:27
std::string
STL class.
coral
Definition:
variable_io.hpp:28
coral::bus::SlaveSetup::variableRecvTimeout
std::chrono::milliseconds variableRecvTimeout
How long a slave should wait to receive variable values from other slaves before assuming that the co...
Definition:
slave_setup.hpp:44
model.hpp
Main module header for coral::model.
coral::model::TimePoint
double TimePoint
The type used to specify (simulation) time points.
Definition:
model.hpp:42
Generated on Thu Mar 9 2017 11:21:22 for coral by
1.8.11