Drake Designer
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ddLCMThread Class Reference

#include <src/app/ddLCMThread.h>

Inheritance diagram for ddLCMThread:
Inheritance graph
[legend]

Public Member Functions

 ddLCMThread (QObject *parent=NULL)
 
virtual ~ddLCMThread ()
 
void stop ()
 
void addSubscriber (ddLCMSubscriber *subscriber)
 
void removeSubscriber (ddLCMSubscriber *subscriber)
 
lcm::LCM * lcmHandle ()
 

Protected Member Functions

void run ()
 
void threadLoopWithSelect ()
 
bool waitForLCM (double timeout)
 
void initLCM ()
 

Protected Attributes

bool mShouldStop
 
double mSelectTimeout
 
QList< ddLCMSubscriber * > mSubscribers
 
lcm::LCM * mLCM
 
QMutex mMutex
 

Detailed Description

Definition at line 16 of file ddLCMThread.h.

Constructor & Destructor Documentation

ddLCMThread::ddLCMThread ( QObject *  parent = NULL)
virtual ddLCMThread::~ddLCMThread ( )
virtual

Member Function Documentation

void ddLCMThread::addSubscriber ( ddLCMSubscriber subscriber)
void ddLCMThread::initLCM ( )
protected
lcm::LCM* ddLCMThread::lcmHandle ( )
inline

Definition at line 30 of file ddLCMThread.h.

void ddLCMThread::removeSubscriber ( ddLCMSubscriber subscriber)
void ddLCMThread::run ( )
protected
void ddLCMThread::stop ( )
void ddLCMThread::threadLoopWithSelect ( )
protected
bool ddLCMThread::waitForLCM ( double  timeout)
protected

Member Data Documentation

lcm::LCM* ddLCMThread::mLCM
protected

Definition at line 46 of file ddLCMThread.h.

QMutex ddLCMThread::mMutex
protected

Definition at line 48 of file ddLCMThread.h.

double ddLCMThread::mSelectTimeout
protected

Definition at line 44 of file ddLCMThread.h.

bool ddLCMThread::mShouldStop
protected

Definition at line 43 of file ddLCMThread.h.

QList<ddLCMSubscriber*> ddLCMThread::mSubscribers
protected

Definition at line 45 of file ddLCMThread.h.


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