Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages | Examples

ArRangeDeviceThreaded Class Reference

#include <ArRangeDeviceThreaded.h>

Inheritance diagram for ArRangeDeviceThreaded:

ArRangeDevice ArSick List of all members.

Detailed Description

A range device which can run in its own thread.

This is a range device thats threaded, it doesn't do multipleInheritance from both ArASyncTask and ArRangeDevice any more since JAVA doesn't support this and the wrapper software can't deal with it. Its still functionally the same however.

Definition at line 40 of file ArRangeDeviceThreaded.h.

Public Member Functions

 ArRangeDeviceThreaded (size_t currentBufferSize, size_t cumulativeBufferSize, const char *name, unsigned int maxRange)
 Constructor.
virtual bool getRunning (void)
 Get the running status of the thread.
virtual bool getRunningWithLock (void)
 Get the running status of the thread, locking around the variable.
virtual int lockDevice (void)
virtual void run (void)
 Run in this thread.
virtual void runAsync (void)
 Run in its own thread.
virtual void * runThread (void *arg)=0
 The functor you need to implement that will be the one executed by the thread.
virtual void stopRunning (void)
 Stop the thread.
virtual int tryLockDevice (void)
virtual int unlockDevice (void)
virtual ~ArRangeDeviceThreaded ()
 Destructor.

Protected Attributes

ArRetFunctor1C< void *, ArRangeDeviceThreaded,
void * > 
myRunThreadCB
ArFunctorASyncTask myTask


The documentation for this class was generated from the following files:
Generated on Tue Feb 20 10:51:44 2007 for Aria by  doxygen 1.4.0