Struct MessageMetadata
Defined in File Message.hpp
Inheritance Relationships
Derived Type
public GridKit::CoSim::MessageData< scalar_type >(Template Struct MessageData)
Struct Documentation
-
struct MessageMetadata
Metadata within a co-simulation message.
This includes all information aside from signal values.
Subclassed by GridKit::CoSim::MessageData< scalar_type >
Public Members
-
MessageType type = {MessageType::INIT}
Message kind.
-
std::uint64_t session = {0}
Session this message belongs to.
-
double time = {0.0}
Simulation time associated with the message.
-
double final_time = {0.0}
Final simulation time, exchanged during INIT.
-
double interval = {0.0}
Communication interval, exchanged during INIT.
-
std::vector<double> event_times
Event times, exchanged during INIT to coordinate communication points.
-
std::string error
Explanation of an error reported by a peer.
-
MessageType type = {MessageType::INIT}