Public Member Functions | Private Member Functions | Private Attributes
can::StateWaiter Class Reference

#include <threading.h>

List of all members.

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::StateListener::Ptr state_listener_

Detailed Description

Definition at line 11 of file threading.h.


Constructor & Destructor Documentation

template<typename InterfaceType >
can::StateWaiter::StateWaiter ( InterfaceType *  interface) [inline]

Definition at line 23 of file threading.h.


Member Function Documentation

void can::StateWaiter::updateState ( const can::State s) [inline, private]

Definition at line 16 of file threading.h.

template<typename DurationType >
bool can::StateWaiter::wait ( const can::State::DriverState s,
const DurationType &  duration 
) [inline]

Definition at line 27 of file threading.h.


Member Data Documentation

boost::condition_variable can::StateWaiter::cond_ [private]

Definition at line 13 of file threading.h.

boost::mutex can::StateWaiter::mutex_ [private]

Definition at line 12 of file threading.h.

Definition at line 15 of file threading.h.

Definition at line 14 of file threading.h.


The documentation for this class was generated from the following file:


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Thu Jun 6 2019 20:43:53