35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETCPPACKET_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETCPPACKET_H 53 namespace data_processing {
97 std::shared_ptr<sick::data_processing::ReadWriteHelper>
m_reader_ptr;
98 uint32_t readSTx(
const uint8_t*& data_ptr)
const;
99 uint32_t readLength(
const uint8_t*& data_ptr)
const;
100 uint16_t readRequestID(
const uint8_t*& data_ptr)
const;
101 uint8_t readHubCntr(
const uint8_t*& data_ptr)
const;
102 uint8_t readNoC(
const uint8_t*& data_ptr)
const;
103 uint32_t readSessionID(
const uint8_t*& data_ptr)
const;
104 uint8_t readCommandType(
const uint8_t*& data_ptr)
const;
105 uint8_t readCommandMode(
const uint8_t*& data_ptr)
const;
106 uint16_t readErrorCode(
const uint8_t*& data_ptr)
const;
115 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSETCPPACKET_H
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_reader_ptr
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)