00001 00018 #ifndef SICK_PLS_BUFFER_MONITOR_HH 00019 #define SICK_PLS_BUFFER_MONITOR_HH 00020 00021 //#define DEFAULT_SICK_PLS_SICK_BYTE_TIMEOUT (35000) ///< Max allowable time between consecutive bytes 00022 #define DEFAULT_SICK_PLS_SICK_BYTE_TIMEOUT (350000) ///< Max allowable time between consecutive bytes 00023 00024 /* Definition dependencies */ 00025 #include "SickPLSMessage.hh" 00026 #include "SickBufferMonitor.hh" 00027 #include "SickException.hh" 00028 00029 /* Associate the namespace */ 00030 namespace SickToolbox { 00031 00035 class SickPLSBufferMonitor : public SickBufferMonitor< SickPLSBufferMonitor, SickPLSMessage > { 00036 00037 public: 00038 00040 SickPLSBufferMonitor( ); 00041 00043 void GetNextMessageFromDataStream( SickPLSMessage &sick_message ) throw( SickIOException ); 00044 00046 ~SickPLSBufferMonitor( ); 00047 00048 }; 00049 00050 } /* namespace SickToolbox */ 00051 00052 #endif /* SICK_PLS_BUFFER_MONITOR_HH */