Public Member Functions | Private Attributes | List of all members
com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object > Class Template Reference
Inheritance diagram for com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >:
Inheritance graph
[legend]

Public Member Functions

synchronized T get ()
 
void lock ()
 
void lockInterruptibly () throws InterruptedException
 
Condition newCondition ()
 
synchronized void set (T val)
 
 SynchronizedAccessor (T val)
 
boolean tryLock ()
 
boolean tryLock (long time, TimeUnit unit) throws InterruptedException
 
void unlock ()
 

Private Attributes

ReentrantLock reentrantLock_ = new ReentrantLock()
 
value_ = null
 

Detailed Description

Definition at line 24 of file SynchronizedAccessor.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.SynchronizedAccessor ( val)
inline

Definition at line 30 of file SynchronizedAccessor.java.

Member Function Documentation

synchronized T com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.get ( )
inline

Definition at line 34 of file SynchronizedAccessor.java.

void com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.lock ( )
inline

Definition at line 37 of file SynchronizedAccessor.java.

void com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.lockInterruptibly ( ) throws InterruptedException
inline

Definition at line 43 of file SynchronizedAccessor.java.

Condition com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.newCondition ( )
inline

Definition at line 50 of file SynchronizedAccessor.java.

synchronized void com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.set ( val)
inline

Definition at line 35 of file SynchronizedAccessor.java.

boolean com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.tryLock ( )
inline

Definition at line 56 of file SynchronizedAccessor.java.

boolean com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.tryLock ( long  time,
TimeUnit  unit 
) throws InterruptedException
inline

Definition at line 62 of file SynchronizedAccessor.java.

void com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.unlock ( )
inline

Definition at line 69 of file SynchronizedAccessor.java.

Member Data Documentation

ReentrantLock com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.reentrantLock_ = new ReentrantLock()
private

Definition at line 28 of file SynchronizedAccessor.java.

T com.generalrobotix.ui.util.SynchronizedAccessor< T extends java.lang.Object >.value_ = null
private

Definition at line 27 of file SynchronizedAccessor.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:44