00001 00018 #ifndef SICK_LMS_2XX_BUFFER_MONITOR_HH 00019 #define SICK_LMS_2XX_BUFFER_MONITOR_HH 00020 00021 #define DEFAULT_SICK_LMS_2XX_SICK_BYTE_TIMEOUT (35000) ///< Max allowable time between consecutive bytes 00022 00023 /* Definition dependencies */ 00024 #include "SickLMS2xxMessage.hh" 00025 #include "SickBufferMonitor.hh" 00026 #include "SickException.hh" 00027 00028 /* Associate the namespace */ 00029 namespace SickToolbox { 00030 00034 class SickLMS2xxBufferMonitor : public SickBufferMonitor< SickLMS2xxBufferMonitor, SickLMS2xxMessage > { 00035 00036 public: 00037 00039 SickLMS2xxBufferMonitor( ); 00040 00042 void GetNextMessageFromDataStream( SickLMS2xxMessage &sick_message ) throw( SickIOException ); 00043 00045 ~SickLMS2xxBufferMonitor( ); 00046 00047 }; 00048 00049 } /* namespace SickToolbox */ 00050 00051 #endif /* SICK_LMS_2XX_BUFFER_MONITOR_HH */