public class RateThread
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
protected |
RateThread(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
afterStart(boolean success) |
void |
askToStop() |
void |
beforeStart() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(RateThread obj) |
double |
getEstPeriod() |
void |
getEstPeriod(SWIGTYPE_p_double av,
SWIGTYPE_p_double std) |
double |
getEstUsed() |
void |
getEstUsed(SWIGTYPE_p_double av,
SWIGTYPE_p_double std) |
long |
getIterations() |
int |
getPriority() |
double |
getRate() |
boolean |
isRunning() |
boolean |
isSuspended() |
void |
resetStat() |
void |
resume() |
void |
run() |
int |
setPriority(int priority) |
int |
setPriority(int priority,
int policy) |
boolean |
setRate(int p) |
boolean |
start() |
boolean |
step() |
void |
stop() |
void |
suspend() |
boolean |
threadInit() |
void |
threadRelease() |
protected static long getCPtr(RateThread obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public boolean threadInit()
public void threadRelease()
public void run()
public boolean start()
public boolean step()
public void stop()
public void askToStop()
public boolean isRunning()
public boolean isSuspended()
public boolean setRate(int p)
public double getRate()
public void suspend()
public void resume()
public void resetStat()
public double getEstPeriod()
public void getEstPeriod(SWIGTYPE_p_double av, SWIGTYPE_p_double std)
public long getIterations()
public double getEstUsed()
public void getEstUsed(SWIGTYPE_p_double av, SWIGTYPE_p_double std)
public void beforeStart()
public void afterStart(boolean success)
public int setPriority(int priority, int policy)
public int setPriority(int priority)
public int getPriority()