Main Page
Namespaces
Classes
Files
File List
File Members
include
micros_swarm
comm_interface.h
Go to the documentation of this file.
1
23
#ifndef COMM_INTERFACE_H_
24
#define COMM_INTERFACE_H_
25
26
#include <iostream>
27
#include <boost/function.hpp>
28
29
#include "
micros_swarm/packet_parser.h
"
30
31
namespace
micros_swarm
{
32
33
class
CommInterface
{
34
public
:
35
virtual
void
init
(std::string name,
const
micros_swarm::PacketParser
& parser) = 0;
36
virtual
void
broadcast
(
const
std::vector<uint8_t>& msg_data) = 0;
37
virtual
void
receive
() = 0;
38
};
39
};
40
#endif
micros_swarm
Definition:
app_manager.h:44
micros_swarm::CommInterface::receive
virtual void receive()=0
micros_swarm::CommInterface::broadcast
virtual void broadcast(const std::vector< uint8_t > &msg_data)=0
micros_swarm::PacketParser
Definition:
packet_parser.h:59
micros_swarm::CommInterface::init
virtual void init(std::string name, const micros_swarm::PacketParser &parser)=0
packet_parser.h
micros_swarm::CommInterface
Definition:
comm_interface.h:33
micros_swarm
Author(s):
autogenerated on Mon Jun 10 2019 14:02:06