All Packages Class Hierarchy This Package Previous Next Index
Class pinball.buffer.ibuff.IBuff
java.lang.Object
|
+----pinball.buffer.Buffer
|
+----pinball.buffer.ibuff.IBuff
- public class IBuff
- extends Buffer
The buffer. Has a information buffer containing data collected by the frame.
The buffers are stored as a circular linked list.
- See Also:
- BufferInfo
-
IBuff()
- For extended use.
-
IBuff(int)
- Set's the id of the buffer.
-
IBuff(int, IBuffInfo, Watcher)
- Set's the id of the buffer.
-
buffInfo()
- Get the buffer info.
-
canRecord()
- Returns recordable status.
-
clone()
- Used to clone the buffer.
-
id()
-
Get the buffer's id.
-
info()
- Get the buffer info.
-
info(IBuffInfo)
-
Set the information.
-
lock()
- The mutex for the buffer in the processing threads.
-
next()
-
Get the next buffer.
-
next(IBuff)
- Set the next buffer.
-
nextBuff()
-
Get the next buffer.
-
recordable()
-
The buffer can be recorded.
-
skipped()
-
Was the buffer skipped by a thread.
-
skipped(boolean)
- Set skip status.
-
strategyUnlock(String)
-
Get's the strategy unlock status.
IBuff
public IBuff(int id)
- Set's the id of the buffer.
- Parameters:
- id - the id for this buffer.
IBuff
public IBuff()
- For extended use.
IBuff
public IBuff(int id,
IBuffInfo info,
Watcher lock)
- Set's the id of the buffer.
- Parameters:
- id - the id for this buffer.
- info - the information of the buffer.
- lock - The lock for the buffer. Used in clone.
skipped
public boolean skipped()
- Was the buffer skipped by a thread.
- Returns:
- skipped status.
- Overrides:
- skipped in class Buffer
skipped
public void skipped(boolean s)
- Set skip status.
- Parameters:
- s - skip status.
- Overrides:
- skipped in class Buffer
clone
public Object clone()
- Used to clone the buffer.
- Returns:
- clone of buffers.
- Overrides:
- clone in class Buffer
next
public void next(IBuff buffer)
- Set the next buffer.
- Parameters:
- buffer - The next buffer.
next
public Buffer next()
- Get the next buffer.
- Parameters:
- the - next buffer.
- Overrides:
- next in class Buffer
nextBuff
public IBuff nextBuff()
- Get the next buffer.
- Parameters:
- the - next buffer.
lock
public Watcher lock()
- The mutex for the buffer in the processing threads.
- Returns:
- the lock for the buffer.
- Overrides:
- lock in class Buffer
info
public BufferInfo info()
- Get the buffer info.
- Returns:
- the information buffer.
- Overrides:
- info in class Buffer
buffInfo
public IBuffInfo buffInfo()
- Get the buffer info.
- Returns:
- the information buffer.
info
public void info(IBuffInfo i)
- Set the information.
- Parameters:
- i - information buffer to be set.
id
public int id()
- Get the buffer's id.
- Returns:
- the id of this buffer.
- Overrides:
- id in class Buffer
strategyUnlock
public void strategyUnlock(String u)
- Get's the strategy unlock status.
- Returns:
- strategy unlock status.
- Overrides:
- strategyUnlock in class Buffer
recordable
public void recordable()
- The buffer can be recorded.
- Overrides:
- recordable in class Buffer
canRecord
public boolean canRecord()
- Returns recordable status.
- Returns:
- Status of buffer's recordablity.
- Overrides:
- canRecord in class Buffer
All Packages Class Hierarchy This Package Previous Next Index