yarp
Class Semaphore

java.lang.Object
  extended by yarp.Semaphore

public class Semaphore
extends java.lang.Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
Semaphore()
           
Semaphore(long initialCount)
           
Semaphore(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 boolean check()
           
 void delete()
           
protected  void finalize()
           
static long getCPtr(Semaphore obj)
           
 void post()
           
 void wait_c()
           
 boolean waitWithTimeout(double timeoutInSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

Semaphore

public Semaphore(long cPtr,
                 boolean cMemoryOwn)

Semaphore

public Semaphore(long initialCount)

Semaphore

public Semaphore()
Method Detail

getCPtr

public static long getCPtr(Semaphore obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

wait_c

public void wait_c()

waitWithTimeout

public boolean waitWithTimeout(double timeoutInSeconds)

check

public boolean check()

post

public void post()