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

Constructor Index

 o IBuff()
For extended use.
 o IBuff(int)
Set's the id of the buffer.
 o IBuff(int, IBuffInfo, Watcher)
Set's the id of the buffer.

Method Index

 o buffInfo()
Get the buffer info.
 o canRecord()
Returns recordable status.
 o clone()
Used to clone the buffer.
 o id()
Get the buffer's id.
 o info()
Get the buffer info.
 o info(IBuffInfo)
Set the information.
 o lock()
The mutex for the buffer in the processing threads.
 o next()
Get the next buffer.
 o next(IBuff)
Set the next buffer.
 o nextBuff()
Get the next buffer.
 o recordable()
The buffer can be recorded.
 o skipped()
Was the buffer skipped by a thread.
 o skipped(boolean)
Set skip status.
 o strategyUnlock(String)
Get's the strategy unlock status.

Constructors

 o IBuff
 public IBuff(int id)
Set's the id of the buffer.

Parameters:
id - the id for this buffer.
 o IBuff
 public IBuff()
For extended use.

 o 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.

Methods

 o skipped
 public boolean skipped()
Was the buffer skipped by a thread.

Returns:
skipped status.
Overrides:
skipped in class Buffer
 o skipped
 public void skipped(boolean s)
Set skip status.

Parameters:
s - skip status.
Overrides:
skipped in class Buffer
 o clone
 public Object clone()
Used to clone the buffer.

Returns:
clone of buffers.
Overrides:
clone in class Buffer
 o next
 public void next(IBuff buffer)
Set the next buffer.

Parameters:
buffer - The next buffer.
 o next
 public Buffer next()
Get the next buffer.

Parameters:
the - next buffer.
Overrides:
next in class Buffer
 o nextBuff
 public IBuff nextBuff()
Get the next buffer.

Parameters:
the - next buffer.
 o lock
 public Watcher lock()
The mutex for the buffer in the processing threads.

Returns:
the lock for the buffer.
Overrides:
lock in class Buffer
 o info
 public BufferInfo info()
Get the buffer info.

Returns:
the information buffer.
Overrides:
info in class Buffer
 o buffInfo
 public IBuffInfo buffInfo()
Get the buffer info.

Returns:
the information buffer.
 o info
 public void info(IBuffInfo i)
Set the information.

Parameters:
i - information buffer to be set.
 o id
 public int id()
Get the buffer's id.

Returns:
the id of this buffer.
Overrides:
id in class Buffer
 o strategyUnlock
 public void strategyUnlock(String u)
Get's the strategy unlock status.

Returns:
strategy unlock status.
Overrides:
strategyUnlock in class Buffer
 o recordable
 public void recordable()
The buffer can be recorded.

Overrides:
recordable in class Buffer
 o 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