GHS
Leader Election Based on GHS Minimum Spanning Tree
msg_printer.h
Go to the documentation of this file.
1 
41 #ifndef msg_printer_hpp
42 #define msg_printer_hpp
43 #include "msg.h"
44 #include <string>
45 #include <iostream>
46 
47 std::string to_string(const le::ghs::msg::Type &type);
48 
49 std::ostream& operator << ( std::ostream& outs, const le::ghs::msg::Type & type );
50 
51 std::ostream& operator << ( std::ostream& outs, const le::ghs::msg::Data & d);
52 
53 std::ostream& operator << ( std::ostream& outs, const le::ghs::Msg & m);
54 
55 
56 #endif
le::ghs::msg::Type
Type
Stores what type of Msg this is.
Definition: msg.h:58
msg.h
provides the defs for the struct le::ghs::msg
le::ghs::Msg
An aggregate type containing all the data to exchange with to/from information.
Definition: msg.h:143
le::ghs::msg::Data
Definition: msg.h:116