
TriggeredClock |
ptolemy.actor.lib.TriggeredClock |
This actor is an extension of Clock with a start and stop
input. A token at the start input will start the clock. A token
at the stop input will stop the clock, if it is still running.
If both start and stop are received simultaneously, then
the clock will be stopped.
So that this start and stop ports can
be used meaningfully in the CT domain, they are declared DISCRETE, and they
should be connected to an event generator. Other domains ignore this
declaration.
Author(s): Edward A. Lee
Version:$Id: TriggeredClock.java,v 1.36 2005/07/08 19:56:09 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Yellow (yuhong)
start
A port that, if connected, is used to specify when the clock
starts. This port has undeclared type.
stop
A port that, if connected, is used to specify when the clock
stops. This port has undeclared type.