A class for monitoring the receive buffer when interfacing with a Sick LMS LIDAR. More...
#include <SickLMS2xxBufferMonitor.hh>

Public Member Functions | |
| void | GetNextMessageFromDataStream (SickLMS2xxMessage &sick_message) throw ( SickIOException ) |
| Acquires the next message from the SickLMS2xx byte stream. More... | |
| SickLMS2xxBufferMonitor () | |
| A standard constructor. More... | |
| ~SickLMS2xxBufferMonitor () | |
| A standard destructor. More... | |
Public Member Functions inherited from SickToolbox::SickBufferMonitor< SickLMS2xxBufferMonitor, SickLMS2xxMessage > | |
| void | AcquireDataStream () throw ( SickThreadException ) |
| Acquires a lock on the data stream. More... | |
| void | GetNextMessageFromDataStream (SickLMS2xxMessage &sick_message) |
| bool | GetNextMessageFromMonitor (SickLMS2xxMessage &sick_message) throw ( SickThreadException ) |
| Checks the message container for the next available Sick message. More... | |
| void | ReleaseDataStream () throw ( SickThreadException ) |
| Releases a lock on the data stream. More... | |
| void | SetDataStream (const unsigned int sick_fd) throw ( SickThreadException ) |
| A method for setting/changing the current data stream. More... | |
| SickBufferMonitor (SickLMS2xxBufferMonitor *const monitor_instance) throw ( SickThreadException ) | |
| Primary constructor. More... | |
| void | StartMonitor (const unsigned int sick_fd) throw ( SickThreadException ) |
| Creates and starts the buffer monitor thread. More... | |
| void | StopMonitor () throw ( SickThreadException ) |
| Cancels the buffer monitor thread. More... | |
| ~SickBufferMonitor () throw ( SickThreadException ) | |
| The destructor (kills the mutex) More... | |
Additional Inherited Members | |
Protected Member Functions inherited from SickToolbox::SickBufferMonitor< SickLMS2xxBufferMonitor, SickLMS2xxMessage > | |
| void | _readBytes (uint8_t *const dest_buffer, const int num_bytes_to_read, const unsigned int timeout_value=0) const throw ( SickTimeoutException, SickIOException ) |
| Attempt to read a certain number of bytes from the stream. More... | |
Protected Attributes inherited from SickToolbox::SickBufferMonitor< SickLMS2xxBufferMonitor, SickLMS2xxMessage > | |
| unsigned int | _sick_fd |
A class for monitoring the receive buffer when interfacing with a Sick LMS LIDAR.
Definition at line 34 of file SickLMS2xxBufferMonitor.hh.
| SickToolbox::SickLMS2xxBufferMonitor::SickLMS2xxBufferMonitor | ( | ) |
A standard constructor.
A standard constructor
Definition at line 36 of file SickLMS2xxBufferMonitor.cc.
| SickToolbox::SickLMS2xxBufferMonitor::~SickLMS2xxBufferMonitor | ( | ) |
A standard destructor.
A standard destructor
Definition at line 131 of file SickLMS2xxBufferMonitor.cc.
| void SickToolbox::SickLMS2xxBufferMonitor::GetNextMessageFromDataStream | ( | SickLMS2xxMessage & | sick_message | ) | |
| throw | ( | SickIOException | |||
| ) | |||||
Acquires the next message from the SickLMS2xx byte stream.
A method for extracting a single message from the stream
| &sick_message | The returned message object |
Definition at line 42 of file SickLMS2xxBufferMonitor.cc.