packet_parser.h
Go to the documentation of this file.
1 
23 #ifndef PACKET_PARSER_H_
24 #define PACKET_PARSER_H_
25 
26 #include <iostream>
27 #include <time.h>
28 #include <vector>
29 #include <map>
30 
31 #include "micros_swarm/singleton.h"
33 #include "micros_swarm/serialize.h"
37 
38 #include "gsdf_msgs/CommHeader.h"
39 #include "gsdf_msgs/CommContent.h"
40 #include "gsdf_msgs/CommPacket.h"
41 #include "gsdf_msgs/RobotBase.h"
42 #include "gsdf_msgs/JoinSwarm.h"
43 #include "gsdf_msgs/LeaveSwarm.h"
44 #include "gsdf_msgs/SwarmList.h"
45 #include "gsdf_msgs/VirtualStigmergyQuery.h"
46 #include "gsdf_msgs/VirtualStigmergyPut.h"
47 #include "gsdf_msgs/VirtualStigmergyPuts.h"
48 #include "gsdf_msgs/BlackBoardQuery.h"
49 #include "gsdf_msgs/BlackBoardAck.h"
50 #include "gsdf_msgs/BlackBoardPut.h"
51 #include "gsdf_msgs/SCDSPSOGet.h"
52 #include "gsdf_msgs/SCDSPSOPut.h"
53 #include "gsdf_msgs/NeighborBroadcastKeyValue.h"
54 #include "gsdf_msgs/BarrierSyn.h"
55 #include "gsdf_msgs/BarrierAck.h"
56 
57 namespace micros_swarm{
58 
59  class PacketParser{
60  public:
61  PacketParser();
62  ~PacketParser();
63  void parse(const std::vector<uint8_t>& data);
64  void parse(const std::vector<char>& data);
65  void parse(uint8_t* data, int len);
66  void parse(char* data, int len);
67  private:
71  };
72 };
73 
74 #endif
boost::shared_ptr< micros_swarm::RuntimeHandle > rth_
Definition: packet_parser.h:68
boost::shared_ptr< micros_swarm::MsgQueueManager > mqm_
Definition: packet_parser.h:70
void parse(const std::vector< uint8_t > &data)
boost::shared_ptr< CheckNeighborInterface > cni_
Definition: packet_parser.h:69


micros_swarm
Author(s):
autogenerated on Mon Jun 10 2019 14:02:06