29 #ifndef INCLUDE_HOKUYOAIST_SCAN_DATA_H__    30 #define INCLUDE_HOKUYOAIST_SCAN_DATA_H__    33   typedef unsigned char       uint8_t;
    34   typedef unsigned int      uint32_t;
    35   #if defined(HOKUYOAIST_STATIC)    36     #define HOKUYOAIST_EXPORT    37   #elif defined(hokuyoaist_EXPORTS)    38     #define HOKUYOAIST_EXPORT     __declspec(dllexport)    40     #define HOKUYOAIST_EXPORT     __declspec(dllimport)    44   #define HOKUYOAIST_EXPORT    85       uint32_t* 
const ranges_buffer,
    86       unsigned int ranges_length,
    87       uint32_t* 
const intensities_buffer = 0,
    88       unsigned int intensities_length = 0);
   102       { 
return intensities_; }
   114     std::string error_code_to_string(uint32_t error_code);
   140     uint32_t operator[](
unsigned int index);
   143     std::string as_string();
   159     void allocate_data(
unsigned int length,
   160     bool include_intensities = 
false);
   161     void write_range(
unsigned int index, uint32_t value);
   162     void write_intensity(
unsigned int index, uint32_t value);
   169 #endif // INCLUDE_HOKUYOAIST_SCAN_DATA_H__ unsigned int intensities_length() const 
Get the number of intensity samples in the data. 
unsigned int intensities_length_
const uint32_t * intensities() const 
Return a pointer to an array of intensity readings. 
unsigned int laser_time_stamp() const 
Get the raw time stamp of the data in milliseconds. 
LaserModel model() const 
Get the model of the laser that produced this scan. 
Structure to store data returned from the laser scanner. 
Hokuyo laser scanner class. 
unsigned long long system_time_
unsigned long long system_time_stamp() const 
Get the system time stamp of the data in milliseconds. 
bool get_error_status() const 
Indicates if one or more steps had an error. 
bool buffers_provided() const 
Check if the buffers are being provided instead of automatic. 
const uint32_t * ranges() const 
Return a pointer to array of range readings in millimetres. 
unsigned int ranges_length_
unsigned int ranges_length() const 
Get the number of range samples in the data. 
#define HOKUYOAIST_EXPORT