TriggeredContinuousClock
ptolemy.domains.ct.lib.TriggeredContinuousClock

This actor is an extension of ContinuousClock with a start and stop input. It is only used in CT domain. 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.

This start and stop ports can are declared DISCRETE, and they only accept discrete events as inputs.



Author(s): Edward A. Lee, Haiyang Zheng
Version:$Id: TriggeredContinuousClock.java,v 1.29 2005/07/08 19:58:05 cxh Exp $
Pt.Proposed Rating:Red (hyzheng)
Pt.Accepted Rating:Red (hyzheng)


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.