#include <reader.h>
Definition at line 13 of file reader.h.
◆ BufferedReader() [1/2]
can::BufferedReader::BufferedReader |
( |
| ) |
|
|
inline |
◆ BufferedReader() [2/2]
can::BufferedReader::BufferedReader |
( |
bool |
enable, |
|
|
size_t |
max_len = 0 |
|
) |
| |
|
inline |
◆ disable()
void can::BufferedReader::disable |
( |
| ) |
|
|
inline |
◆ enable()
void can::BufferedReader::enable |
( |
| ) |
|
|
inline |
◆ flush()
void can::BufferedReader::flush |
( |
| ) |
|
|
inline |
◆ handleFrame()
void can::BufferedReader::handleFrame |
( |
const can::Frame & |
msg | ) |
|
|
inlineprivate |
◆ isEnabled()
bool can::BufferedReader::isEnabled |
( |
| ) |
|
|
inline |
◆ listen() [1/2]
◆ listen() [2/2]
◆ read()
template<typename DurationType >
bool can::BufferedReader::read |
( |
can::Frame * |
msg, |
|
|
const DurationType & |
duration |
|
) |
| |
|
inline |
◆ readUntil()
bool can::BufferedReader::readUntil |
( |
can::Frame * |
msg, |
|
|
boost::chrono::high_resolution_clock::time_point |
abs_time |
|
) |
| |
|
inline |
◆ setEnabled()
bool can::BufferedReader::setEnabled |
( |
bool |
enabled | ) |
|
|
inline |
◆ setMaxLen()
void can::BufferedReader::setMaxLen |
( |
size_t |
max_len | ) |
|
|
inline |
◆ trim()
void can::BufferedReader::trim |
( |
| ) |
|
|
inlineprivate |
◆ buffer_
std::deque<can::Frame> can::BufferedReader::buffer_ |
|
private |
◆ cond_
boost::condition_variable can::BufferedReader::cond_ |
|
private |
◆ enabled_
bool can::BufferedReader::enabled_ |
|
private |
◆ listener_
◆ max_len_
size_t can::BufferedReader::max_len_ |
|
private |
◆ mutex_
boost::mutex can::BufferedReader::mutex_ |
|
private |
The documentation for this class was generated from the following file: