SickLMS1xxBufferMonitor.hh
Go to the documentation of this file.
1 
18 #ifndef SICK_LMS_1XX_BUFFER_MONITOR_HH
19 #define SICK_LMS_1XX_BUFFER_MONITOR_HH
20 
21 #define DEFAULT_SICK_LMS_1XX_BYTE_TIMEOUT (100000)
22 
23 /* Definition dependencies */
24 #include "SickLMS1xxMessage.hh"
25 #include "SickBufferMonitor.hh"
26 #include "SickException.hh"
27 
28 /* Associate the namespace */
29 namespace SickToolbox {
30 
34  class SickLMS1xxBufferMonitor : public SickBufferMonitor< SickLMS1xxBufferMonitor, SickLMS1xxMessage > {
35 
36  public:
37 
40 
42  void GetNextMessageFromDataStream( SickLMS1xxMessage &sick_message ) throw( SickIOException );
43 
46 
47  private:
48 
49  /* A utility function for flushing the receive buffer */
50  void _flushTCPRecvBuffer( ) const throw ( SickIOException );
51 
52  };
53 
54 } /* namespace SickToolbox */
55 
56 #endif /* SICK_LMS_1XX_BUFFER_MONITOR_HH */
SickLMS1xxBufferMonitor()
A standard constructor.
Contains some simple exception classes.
A class for monitoring the receive buffer when interfacing with a Sick LD LIDAR.
void _flushTCPRecvBuffer() const
Flushes TCP receive buffer contents.
Defines an abstract class for interfacing with a Sick LIDAR.
void GetNextMessageFromDataStream(SickLMS1xxMessage &sick_message)
Acquires the next message from the SickLMS1xx byte stream.
Encapsulates the Sick LIDAR Matlab/C++ toolbox.
Definition: SickLD.cc:44
Thrown instance where the driver can&#39;t read,write,drain,flush,... the buffers.
A class to represent all messages sent to and from the Sick LMS 1xx unit.


sicktoolbox
Author(s): Jason Derenick , Thomas Miller
autogenerated on Tue Sep 10 2019 03:37:34