55 #ifndef __PCAPNG_JSON_PARSER_H_INCLUDED 56 #define __PCAPNG_JSON_PARSER_H_INCLUDED 74 JsonScanData(
double _timestamp = 0,
const std::vector<uint8_t>& _data = std::vector<uint8_t>()) :
timestamp(_timestamp),
data(_data) {}
94 static bool parseJsonfile(
const std::string &
json_filename,
const std::vector<std::string> & scandatatypes,
double start_time, std::vector<sick_scan::JsonScanData> & scandata);
101 static std::vector<std::string> split(
const std::string &
s,
char delimiter);
108 #endif // __PCAPNG_JSON_PARSER_H_INCLUDED class JsonScanData: utility container for binary scandata incl. timestamp
std::vector< uint8_t > data
class PcapngJsonParser parses jsonfiles converted from pcapng-files by pcap_json_converter.
static sick_scan::SickScanCommonTcp * s
JsonScanData(double _timestamp=0, const std::vector< uint8_t > &_data=std::vector< uint8_t >())