
CTCompositeActor |
ptolemy.domains.ct.kernel.CTCompositeActor |
A composite actor designed for the CT domain. This class
extends TypedCompositeActor and implements the following interfaces:
CTDynamicActor, CTEventGenerator, CTStatefulActor, CTStepSizeControlActor,
and CTWaveformGenerator.
In the CT domain, normal opaque composite actors are not fired
in every iteration. They are only fired in the discrete phase of execution
and when they have trigger events. On the other hand, CTCompositeActors
are fired in both discrete and continuous phases of execution in each
iteration.
The key task of this actor is to implement step-size control methods.
If the local director of this actor is an instance of CTTransparentDirector,
then any step-size control methods called on this actor will be delegated
to the local director. If the local director is not a CTTransparentDirector,
the implementations of the step-size control methods do not affect
the current step size.
This composite actor should be used when a CT subsystem needs to transfer
its step size control information to the outer domain. Typical usage
includes CT inside CT or CT inside FSM inside CT.
Author(s): Jie Liu, Haiyang Zheng
Version:$Id: CTCompositeActor.java,v 1.61 2006/04/14 18:49:24 hyzheng Exp $
Pt.Proposed Rating:Green (hyzheng)
Pt.Accepted Rating:Green (hyzheng)