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

Public Member Functions | |
| void | GetNextMessageFromDataStream (SickLDMessage &sick_message) throw ( SickIOException ) |
| Acquires the next message from the SickLD byte stream. More... | |
| SickLDBufferMonitor () | |
| A standard constructor. More... | |
| ~SickLDBufferMonitor () | |
| A standard destructor. More... | |
Public Member Functions inherited from SickToolbox::SickBufferMonitor< SickLDBufferMonitor, SickLDMessage > | |
| void | AcquireDataStream () throw ( SickThreadException ) |
| Acquires a lock on the data stream. More... | |
| void | GetNextMessageFromDataStream (SickLDMessage &sick_message) |
| bool | GetNextMessageFromMonitor (SickLDMessage &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 (SickLDBufferMonitor *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< SickLDBufferMonitor, SickLDMessage > | |
| 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< SickLDBufferMonitor, SickLDMessage > | |
| unsigned int | _sick_fd |
A class for monitoring the receive buffer when interfacing with a Sick LD LIDAR.
Definition at line 33 of file SickLDBufferMonitor.hh.
| SickToolbox::SickLDBufferMonitor::SickLDBufferMonitor | ( | ) |
A standard constructor.
A standard constructor
Definition at line 35 of file SickLDBufferMonitor.cc.
| SickToolbox::SickLDBufferMonitor::~SickLDBufferMonitor | ( | ) |
| void SickToolbox::SickLDBufferMonitor::GetNextMessageFromDataStream | ( | SickLDMessage & | sick_message | ) | |
| throw | ( | SickIOException | |||
| ) | |||||
Acquires the next message from the SickLD byte stream.
A method for extracting a single message from the stream
| &sick_message | The returned message object |
Definition at line 41 of file SickLDBufferMonitor.cc.