#include <threading.h>
Public Member Functions | |
template<typename InterfaceType > | |
StateWaiter (InterfaceType *interface) | |
template<typename DurationType > | |
bool | wait (const can::State::DriverState &s, const DurationType &duration) |
Private Member Functions | |
void | updateState (const can::State &s) |
Private Attributes | |
boost::condition_variable | cond_ |
boost::mutex | mutex_ |
can::State | state_ |
can::StateInterface::StateListenerConstSharedPtr | state_listener_ |
Definition at line 11 of file threading.h.
|
inline |
Definition at line 23 of file threading.h.
|
inlineprivate |
Definition at line 16 of file threading.h.
|
inline |
Definition at line 27 of file threading.h.
|
private |
Definition at line 13 of file threading.h.
|
private |
Definition at line 12 of file threading.h.
|
private |
Definition at line 15 of file threading.h.
|
private |
Definition at line 14 of file threading.h.