35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETCPPACKET_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETCPPACKET_H 53 namespace data_processing {
97 uint32_t readSTx(std::vector<uint8_t>::const_iterator data_ptr)
const;
98 uint32_t readLength(std::vector<uint8_t>::const_iterator data_ptr)
const;
99 uint16_t readRequestID(std::vector<uint8_t>::const_iterator data_ptr)
const;
100 uint8_t readHubCntr(std::vector<uint8_t>::const_iterator data_ptr)
const;
101 uint8_t readNoC(std::vector<uint8_t>::const_iterator data_ptr)
const;
102 uint32_t readSessionID(std::vector<uint8_t>::const_iterator data_ptr)
const;
103 uint8_t readCommandType(std::vector<uint8_t>::const_iterator data_ptr)
const;
104 uint8_t readCommandMode(std::vector<uint8_t>::const_iterator data_ptr)
const;
105 uint16_t readErrorCode(std::vector<uint8_t>::const_iterator data_ptr)
const;
114 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETCPPACKET_H
A packetbuffer for the raw data from the sensor.
Parser for an incoming TCP packet.
Base class for commands. Defines the base interface and does the common tasks.
ROSLIB_DECL std::string command(const std::string &cmd)