00001 #ifndef BRICS_OODL_LASERSCANNER_H 00002 #define BRICS_OODL_LASERSCANNER_H 00003 00010 #include <string> 00011 #include "generic/Errors.hpp" 00012 #include "generic/Logger.hpp" 00013 #include "generic/Units.hpp" 00014 #include "generic-laser-scanner/LaserScannerConfiguration.hpp" 00015 #include "generic-laser-scanner/LaserScannerData.hpp" 00016 #include "generic-laser-scanner/LaserScannerDataWithIntensities.hpp" 00017 namespace brics_oodl { class Errors; } 00018 namespace brics_oodl { class LaserScannerConfiguration; } 00019 namespace brics_oodl { class LaserScannerData; } 00020 00021 namespace brics_oodl { 00022 00023 class LaserScanner { 00024 public: 00025 virtual bool open(Errors& error) = 0; 00026 00027 virtual bool close(Errors& error) = 0; 00028 00029 virtual bool setConfiguration(const LaserScannerConfiguration& configuration, Errors& error) = 0; 00030 00031 virtual bool getConfiguration(LaserScannerConfiguration& configuration, Errors& error) = 0; 00032 00033 virtual bool getData(LaserScannerData& data, Errors& error) = 0; 00034 00035 virtual bool resetDevice(Errors& error) = 0; 00036 00037 }; 00038 00039 } // namespace brics_oodl 00040 #endif