36 #ifndef SICK_TIM3XX_COMMON_MOCKUP_H_ 37 #define SICK_TIM3XX_COMMON_MOCKUP_H_ 44 #include <std_msgs/String.h> 63 virtual int sendSOPASCommand(
const char* request, std::vector<unsigned char> * reply);
71 virtual int get_datagram(
unsigned char* receiveBuffer,
int bufferSize,
int* actual_length);
81 void datagramCB(
const std_msgs::String::ConstPtr &msg);
virtual int init_device()
SickTimCommonMockup(AbstractParser *parser)
virtual int sendSOPASCommand(const char *request, std::vector< unsigned char > *reply)
Send a SOPAS command to the device and print out the response to the console.
void datagramCB(const std_msgs::String::ConstPtr &msg)
virtual int init_scanner()
virtual int get_datagram(unsigned char *receiveBuffer, int bufferSize, int *actual_length)
Read a datagram from the device.
virtual ~SickTimCommonMockup()
std_msgs::String::ConstPtr datagram_msg_
virtual int close_device()