Drake
LcmReceiveThread Class Reference

Maintains a thread that receives LCM messages and dispatches the messages to the appropriate message handlers. More...

#include <drake/lcm/lcm_receive_thread.h>

Public Member Functions

 LcmReceiveThread (::lcm::LCM *lcm)
 A constructor that instantiates the thread. More...
 
 ~LcmReceiveThread ()
 The destructor that ensures the thread that receives LCM message is stopped. More...
 
void Stop ()
 Stops the LCM receive thread. More...
 
Does not allow copy, move, or assignment
 LcmReceiveThread (const LcmReceiveThread &)=delete
 
LcmReceiveThreadoperator= (const LcmReceiveThread &)=delete
 
 LcmReceiveThread (LcmReceiveThread &&)=delete
 
LcmReceiveThreadoperator= (LcmReceiveThread &&)=delete
 

Detailed Description

Maintains a thread that receives LCM messages and dispatches the messages to the appropriate message handlers.

Constructor & Destructor Documentation

LcmReceiveThread ( const LcmReceiveThread )
delete
LcmReceiveThread ( ::lcm::LCM *  lcm)
explicit

A constructor that instantiates the thread.

Parameters
[in]lcmA pointer to the LCM instance through which to access the LCM network. This parameter cannot be nullptr and must remain valid for the lifetime of this object.

The destructor that ensures the thread that receives LCM message is stopped.

Here is the call graph for this function:

Member Function Documentation

LcmReceiveThread& operator= ( const LcmReceiveThread )
delete
LcmReceiveThread& operator= ( LcmReceiveThread &&  )
delete
void Stop ( )

Stops the LCM receive thread.

This stops the reception of LCM messages.

Here is the caller graph for this function:


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