public class RPLidarA1Fake.ReadSerialThread
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicInteger |
counter |
private java.util.List<RPLidarProviderListener> |
listenerList |
private java.util.concurrent.atomic.AtomicBoolean |
run |
Constructor and Description |
---|
ReadSerialThread() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(RPLidarProviderListener listener) |
void |
removeListener(RPLidarProviderListener listener) |
void |
requestStop() |
void |
run() |
private final java.util.concurrent.atomic.AtomicBoolean run
private final java.util.concurrent.atomic.AtomicInteger counter
private final java.util.List<RPLidarProviderListener> listenerList
public void addListener(RPLidarProviderListener listener)
public void removeListener(RPLidarProviderListener listener)
public void requestStop()
public void run()
run
in interface java.lang.Runnable