Classes | Defines | Enumerations | Functions
buffer_layer.h File Reference
#include <set>
#include <map>
#include "basic_io.h"
Include dependency graph for buffer_layer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  base_time_t
struct  frame_t
struct  pac
struct  remote_data_t
struct  robo_pose_t
struct  sniff_func_t
struct  ts_key_t

Defines

#define QUEUE_LEN   250
#define SYNC_SAMPLE_LEN   250

Enumerations

enum  sniff_pkt_type_t {
  SP_MARTE_WMP_FRAME, SP_LKS_WMP_FRAME, SP_LUS_WMP_FRAME, SP_FOREIGN,
  SP_LUS_WMP_FRAME_DUP
}
enum  sniff_type_t {
  ST_PCAP, ST_SOCKET, ST_MARTE, ST_FILE,
  ST_SIM, ST_SHARED_MEM
}

Functions

void buffer_layer_activate (bool activate)
void buffer_layer_clear ()
int buffer_layer_init (int _st, int nnodes, char *iface)
int buffer_layer_sniff_packet (char *data, simData_Hdr &sdh, unsigned long long &time_us, std::set< int > &reached, std::map< int, robo_pose_t > &poses)
void buffer_layer_stop ()

Define Documentation

#define QUEUE_LEN   250

Definition at line 44 of file buffer_layer.h.

#define SYNC_SAMPLE_LEN   250

Definition at line 45 of file buffer_layer.h.


Enumeration Type Documentation

Enumerator:
SP_MARTE_WMP_FRAME 
SP_LKS_WMP_FRAME 
SP_LUS_WMP_FRAME 
SP_FOREIGN 
SP_LUS_WMP_FRAME_DUP 

Definition at line 100 of file buffer_layer.h.

Enumerator:
ST_PCAP 
ST_SOCKET 
ST_MARTE 
ST_FILE 
ST_SIM 
ST_SHARED_MEM 

Definition at line 96 of file buffer_layer.h.


Function Documentation

void buffer_layer_activate ( bool  activate)

Definition at line 90 of file buffer_layer.cc.

Definition at line 96 of file buffer_layer.cc.

int buffer_layer_init ( int  _st,
int  nnodes,
char *  iface 
)

Definition at line 254 of file buffer_layer.cc.

int buffer_layer_sniff_packet ( char *  data,
simData_Hdr sdh,
unsigned long long &  time_us,
std::set< int > &  reached,
std::map< int, robo_pose_t > &  poses 
)

Definition at line 104 of file buffer_layer.cc.

Definition at line 295 of file buffer_layer.cc.



ros_rt_wmp_sniffer
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:58