|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.go.aist.rtm.RTC.buffer.NullBuffer<DataType>
DataType
- バッファ内のデータ型を指定します。public class NullBuffer<DataType>
バッファ長1固定のバッファ実装です。
コンストラクタの概要 | |
---|---|
NullBuffer()
デフォルトコンストラクタです。 |
|
NullBuffer(long size)
コンストラクタです。 |
メソッドの概要 | |
---|---|
ReturnCode |
advanceRptr()
advanceRptr |
ReturnCode |
advanceRptr(int n)
advanceRptr |
ReturnCode |
advanceWptr()
advanceWptr |
ReturnCode |
advanceWptr(int n)
advanceWptr |
boolean |
empty()
empty |
boolean |
full()
full |
DataType |
get()
バッファからデータを読み込みます。 |
ReturnCode |
get(DataType value)
get |
void |
init(Properties prop)
init |
boolean |
isEmpty()
バッファが空かどうか判定します。 |
boolean |
isFull()
バッファがフルかどうか判定します。 |
boolean |
isNew()
バッファ中に、まだ読み取られていないデータがあるかどうか判定します。 |
int |
length()
バッファ長を取得します。 |
ReturnCode |
length(int n)
length |
ReturnCode |
put(DataType data)
バッファにデータを書き込みます。 |
boolean |
read(DataRef<DataType> valueRef)
バッファからデータを読み込みます。 |
int |
readable()
readable |
ReturnCode |
reset()
reset |
DataType |
rptr()
rptr |
DataType |
rptr(int n)
rptr |
DataType |
wptr()
wptr |
DataType |
wptr(int n)
wptr |
int |
writable()
writable |
ReturnCode |
write(DataType value)
バッファにデータを書き込みます。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public NullBuffer(long size)
コンストラクタです。
size
- バッファ長public NullBuffer()
デフォルトコンストラクタです。
メソッドの詳細 |
---|
public int length()
バッファ長を取得します。
public ReturnCode write(DataType value)
バッファにデータを書き込みます。
value
- 書き込むデータ
public boolean read(DataRef<DataType> valueRef)
バッファからデータを読み込みます。
valueRef
- 読み込んだデータを受け取るためのDataRefオブジェクト
public boolean isFull()
バッファがフルかどうか判定します。
public boolean isEmpty()
バッファが空かどうか判定します。
public ReturnCode put(DataType data)
バッファにデータを書き込みます。
data
- 書き込むデータpublic DataType get()
バッファからデータを読み込みます。
public boolean isNew()
バッファ中に、まだ読み取られていないデータがあるかどうか判定します。
public ReturnCode get(DataType value)
get
This function is not implemented.
value
-
public void init(Properties prop)
init
This function is not implemented.
prop
- public ReturnCode reset()
reset
This function is not implemented.
public DataType wptr(int n)
wptr
This function is not implemented.
n
-
public DataType wptr()
wptr
This function is not implemented.
public ReturnCode advanceWptr(int n)
advanceWptr
This function is not implemented.
n
-
public ReturnCode advanceWptr()
advanceWptr
This function is not implemented.
public int writable()
writable
This function is not implemented.
public boolean full()
full
This function is not implemented.
public DataType rptr(int n)
rptr
This function is not implemented.
n
-
public DataType rptr()
rptr
This function is not implemented.
public ReturnCode advanceRptr(int n)
advanceRptr
This function is not implemented.
n
-
public ReturnCode advanceRptr()
advanceRptr
This function is not implemented.
public int readable()
readable
This function is not implemented.
public boolean empty()
empty
This function is not implemented.
public ReturnCode length(int n)
length
This function is not implemented.
n
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |