Package yarp
Class RateThreadWrapper
- java.lang.Object
-
- yarp.RateThread
-
- yarp.RateThreadWrapper
-
public class RateThreadWrapper extends RateThread
-
-
Field Summary
-
Fields inherited from class yarp.RateThread
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description RateThreadWrapper()
protected
RateThreadWrapper(long cPtr, boolean cMemoryOwn)
RateThreadWrapper(SWIGTYPE_p_Runnable helper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterStart(boolean success)
boolean
attach(SWIGTYPE_p_Runnable helper)
void
beforeStart()
void
close()
void
delete()
void
detach()
protected void
finalize()
SWIGTYPE_p_Runnable
getAttachment()
protected static long
getCPtr(RateThreadWrapper obj)
boolean
open()
boolean
open(double framerate)
boolean
open(double framerate, boolean polling)
void
run()
void
stop()
boolean
threadInit()
void
threadRelease()
-
Methods inherited from class yarp.RateThread
askToStop, getCPtr, getEstPeriod, getEstPeriod, getEstUsed, getEstUsed, getIterations, getPriority, getRate, isRunning, isSuspended, resetStat, resume, setPriority, setPriority, setRate, start, step, suspend
-
-
-
-
Constructor Detail
-
RateThreadWrapper
protected RateThreadWrapper(long cPtr, boolean cMemoryOwn)
-
RateThreadWrapper
public RateThreadWrapper()
-
RateThreadWrapper
public RateThreadWrapper(SWIGTYPE_p_Runnable helper)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(RateThreadWrapper obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classRateThread
-
delete
public void delete()
- Overrides:
delete
in classRateThread
-
detach
public void detach()
-
attach
public boolean attach(SWIGTYPE_p_Runnable helper)
-
open
public boolean open(double framerate, boolean polling)
-
open
public boolean open(double framerate)
-
open
public boolean open()
-
close
public void close()
-
stop
public void stop()
- Overrides:
stop
in classRateThread
-
run
public void run()
- Overrides:
run
in classRateThread
-
threadInit
public boolean threadInit()
- Overrides:
threadInit
in classRateThread
-
threadRelease
public void threadRelease()
- Overrides:
threadRelease
in classRateThread
-
afterStart
public void afterStart(boolean success)
- Overrides:
afterStart
in classRateThread
-
beforeStart
public void beforeStart()
- Overrides:
beforeStart
in classRateThread
-
getAttachment
public SWIGTYPE_p_Runnable getAttachment()
-
-