|
coral
A C++ library for distributed co-simulation
|
Functions for using Protobuf with ZMQ. More...
Classes | |
| class | SerializationException |
| Exception that signals failure to serialize or deserialize a message. More... | |
Functions | |
| void | SerializeToFrame (const google::protobuf::MessageLite &source, zmq::message_t &target) |
| Serializes a Protobuf message into a ZMQ message. More... | |
| void | ParseFromFrame (const zmq::message_t &source, google::protobuf::MessageLite &target) |
| Deserializes a Protobuf message from a ZMQ message. More... | |
Functions for using Protobuf with ZMQ.
| void coral::protobuf::ParseFromFrame | ( | const zmq::message_t & | source, |
| google::protobuf::MessageLite & | target | ||
| ) |
Deserializes a Protobuf message from a ZMQ message.
| SerializationException | on failure. |
| void coral::protobuf::SerializeToFrame | ( | const google::protobuf::MessageLite & | source, |
| zmq::message_t & | target | ||
| ) |
Serializes a Protobuf message into a ZMQ message.
Any existing contents of target will be replaced.
| SerializationException | on failure. |
1.8.11