
CSPBuffer |
ptolemy.domains.csp.lib.CSPBuffer |
A single channel buffer. This actor is the canonical example of how
to use a CDO construct. It is parameterized by the Parameter "depth",
which controls how many Tokens can be stored in this buffer.
The default depth of the buffer is 1. The buffer depth is set upon
calling the fire method. The fire() method does not return until a
TerminateProcessException is thrown.
<p>
Author(s): Neil Smyth
Version:$Id: CSPBuffer.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Red (nsmyth)
Pt.Accepted Rating:Red (cxh)
input
The input port for this actor.
output
The output port for this actor.
depth
The Parameter storing the depth of the buffer.