include
sick_safetyscanners
data_processing
ParseDeviceName.h
Go to the documentation of this file.
1
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2
3
// -- BEGIN LICENSE BLOCK ----------------------------------------------
4
24
// -- END LICENSE BLOCK ------------------------------------------------
25
26
//----------------------------------------------------------------------
33
//----------------------------------------------------------------------
34
35
#ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDEVICENAME_H
36
#define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDEVICENAME_H
37
38
#include <
sick_safetyscanners/datastructure/Data.h
>
39
#include <
sick_safetyscanners/datastructure/DeviceName.h
>
40
#include <
sick_safetyscanners/datastructure/PacketBuffer.h
>
41
42
#include <
sick_safetyscanners/data_processing/ReadWriteHelper.hpp
>
43
44
#include <string>
45
46
namespace
sick
{
47
48
namespace
data_processing {
49
50
54
class
ParseDeviceName
55
{
56
public
:
60
ParseDeviceName
();
61
70
bool
parseTCPSequence
(
const
datastructure::PacketBuffer
& buffer,
71
datastructure::DeviceName
& device_name)
const
;
72
73
private
:
74
std::string
readDeviceName
(std::vector<uint8_t>::const_iterator data_ptr)
const
;
75
};
76
77
}
// namespace data_processing
78
}
// namespace sick
79
80
#endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDEVICENAME_H
DeviceName.h
sick::data_processing::ParseDeviceName::parseTCPSequence
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::DeviceName &device_name) const
Parses a tcp sequence to read the device name of the sensor.
Definition:
ParseDeviceName.cpp:45
sick
Definition:
ApplicationNameVariableCommand.h:43
sick::datastructure::DeviceName
Class containing the device name of a laser scanner.
Definition:
DeviceName.h:47
sick::data_processing::ParseDeviceName::readDeviceName
std::string readDeviceName(std::vector< uint8_t >::const_iterator data_ptr) const
Definition:
ParseDeviceName.cpp:56
ReadWriteHelper.hpp
PacketBuffer.h
sick::data_processing::ParseDeviceName::ParseDeviceName
ParseDeviceName()
Constructor of the parser.
Definition:
ParseDeviceName.cpp:42
sick::data_processing::ParseDeviceName
Parser to read the device name from a tcp sequence.
Definition:
ParseDeviceName.h:54
sick::datastructure::PacketBuffer
A packetbuffer for the raw data from the sensor.
Definition:
PacketBuffer.h:61
Data.h
sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Aug 2 2024 08:28:39