Go to the documentation of this file.00001
00023 #ifndef COMM_INTERFACE_H_
00024 #define COMM_INTERFACE_H_
00025
00026 #include <iostream>
00027 #include <boost/function.hpp>
00028
00029 #include "micros_swarm/packet_parser.h"
00030
00031 namespace micros_swarm{
00032
00033 class CommInterface{
00034 public:
00035 virtual void init(std::string name, const micros_swarm::PacketParser& parser) = 0;
00036 virtual void broadcast(const std::vector<uint8_t>& msg_data) = 0;
00037 virtual void receive() = 0;
00038 };
00039 };
00040 #endif