10 #ifndef CORAL_PROTOCOL_GLUE_HPP 11 #define CORAL_PROTOCOL_GLUE_HPP 18 #include "domain.pb.h" 28 coralproto::model::VariableDescription
ToProto(
33 const coralproto::model::VariableDescription& protoVariable);
36 coralproto::model::SlaveTypeDescription
ToProto(
41 const coralproto::model::SlaveTypeDescription& src);
54 coralproto::model::Variable& target);
61 coralproto::net::SlaveLocator& target);
66 #endif // header guard An object that identifies a variable in a simulation, and which consists of a slave ID and a variable...
Definition: model.hpp:270
Main module header for coral::net.
boost::variant< double, int, bool, std::string > ScalarValue
An algebraic type that can hold values of all supported data types.
Definition: model.hpp:259
A description of a slave type.
Definition: model.hpp:148
Definition: variable_io.hpp:28
void ConvertToProto(const coral::model::ScalarValue &source, coralproto::model::ScalarValue &target)
Converts a ScalarValue to a protocol buffer (in place).
coralproto::model::VariableDescription ToProto(const coral::model::VariableDescription &ourVariable)
Converts a variable description to a protocol buffer.
A description of a single variable.
Definition: model.hpp:104
Class which represents the network location(s) of a slave.
Definition: net.hpp:292
Main module header for coral::model.
coral::model::VariableDescription FromProto(const coralproto::model::VariableDescription &protoVariable)
Converts a protocol buffer to a variable definition.