ptolemy.domains.ct.kernel
Interface CTEventGenerator

All Superinterfaces:
Actor, Executable, Initializable, Nameable
All Known Implementing Classes:
Case, CTCase, CTCompositeActor, CTPeriodicSampler, CTRefinement, CTTriggeredSampler, LevelCrossingDetector, ModalModel, Refinement, TDLModule, TDLRefinement, TransitionRefinement, ZeroCrossingDetector

public interface CTEventGenerator
extends Actor

Interface for CT actors that convert continuous-time signals to discrete events. Typical implementations of event generator are CTPeriodicSampler, event detectors, etc.

Since:
Ptolemy II 0.2
Version:
$Id: CTEventGenerator.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Jie Liu
Accepted Rating:
Green (yuhong)
Proposed Rating:
Green (liuj)

Field Summary
 
Fields inherited from interface ptolemy.actor.Executable
COMPLETED, NOT_READY, STOP_ITERATING
 
Method Summary
 boolean hasCurrentEvent()
          Return true if there is an event at the current time.
 
Methods inherited from interface ptolemy.actor.Actor
createReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortList
 
Methods inherited from interface ptolemy.actor.Executable
fire, isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate
 
Methods inherited from interface ptolemy.actor.Initializable
addInitializable, initialize, preinitialize, removeInitializable, wrapup
 
Methods inherited from interface ptolemy.kernel.util.Nameable
description, getContainer, getDisplayName, getFullName, getName, getName, setName
 

Method Detail

hasCurrentEvent

boolean hasCurrentEvent()
Return true if there is an event at the current time.

Returns:
True if there is an event at the current time.