|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.InstantiableNamedObj
ptolemy.kernel.Entity
ptolemy.kernel.ComponentEntity
ptolemy.kernel.CompositeEntity
ptolemy.actor.CompositeActor
ptolemy.actor.TypedCompositeActor
ptolemy.actor.lib.jni.CompiledCompositeActor
ptolemy.actor.lib.jni.EmbeddedCActor
ptolemy.actor.lib.jni.CodegenActor
public class CodegenActor
A composite actor that can be optionally code generated and then invoked via the Java Native Interface (JNI).
red (tbf) |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.actor.lib.jni.EmbeddedCActor |
---|
EmbeddedCActor.EmbeddedActor |
Nested classes/interfaces inherited from class ptolemy.kernel.CompositeEntity |
---|
CompositeEntity.ContainedObjectsIterator |
Field Summary |
---|
Fields inherited from class ptolemy.actor.lib.jni.EmbeddedCActor |
---|
_embeddedActor, embeddedCCode |
Fields inherited from class ptolemy.actor.lib.jni.CompiledCompositeActor |
---|
codeDirectory, generatorPackage, inline, invokeJNI, overwriteFiles |
Fields inherited from class ptolemy.actor.CompositeActor |
---|
_actorFiringListeners, _causalityInterface, _initializables, _notifyingActorFiring, _publishedPorts, _publisherRelations, _stopRequested |
Fields inherited from class ptolemy.kernel.CompositeEntity |
---|
_levelCrossingLinks |
Fields inherited from class ptolemy.kernel.util.NamedObj |
---|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
Fields inherited from interface ptolemy.actor.Executable |
---|
COMPLETED, NOT_READY, STOP_ITERATING |
Constructor Summary | |
---|---|
CodegenActor(CompositeEntity container,
java.lang.String name)
Create an actor with a name and a container. |
Method Summary | |
---|---|
void |
initialize()
Throw an IllegalActionException to indicate that this actor is used for code generation only. |
Methods inherited from class ptolemy.actor.lib.jni.EmbeddedCActor |
---|
_getFileDependencies, _getFireBlock, _getInitBlock, _getPreinitBlock, _getWrapupBlock, preinitialize, setEmbeddedActor, wrapup |
Methods inherited from class ptolemy.actor.lib.jni.CompiledCompositeActor |
---|
_compileJavaCode, _generateAndCompileCCode, _generateAndCompileJavaCode, fire, getSanitizedName |
Methods inherited from class ptolemy.actor.TypedCompositeActor |
---|
_addEntity, _addPort, _addRelation, _checkTypesFromTo, _typeConstraintsFromTo, newPort, newRelation, resolveTypes, typeConstraintList, typeConstraints |
Methods inherited from class ptolemy.kernel.ComponentEntity |
---|
_checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence, setName |
Methods inherited from class ptolemy.kernel.Entity |
---|
_removePort, connectedPortList, connectedPorts, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts |
Methods inherited from class ptolemy.kernel.InstantiableNamedObj |
---|
_setParent, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ptolemy.actor.Actor |
---|
createReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortList |
Methods inherited from interface ptolemy.actor.Executable |
---|
isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate |
Methods inherited from interface ptolemy.actor.Initializable |
---|
addInitializable, removeInitializable |
Methods inherited from interface ptolemy.kernel.util.Nameable |
---|
description, getContainer, getDisplayName, getFullName, getName, getName, setName |
Methods inherited from interface ptolemy.kernel.util.Derivable |
---|
getDerivedLevel, getDerivedList, propagateValue |
Constructor Detail |
---|
public CodegenActor(CompositeEntity container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container actor.name
- The name of this actor.
IllegalActionException
- If the container is incompatible
with this actor.
NameDuplicationException
- If the name coincides with
an actor already in the container.Method Detail |
---|
public void initialize() throws IllegalActionException
initialize
in interface Initializable
initialize
in class CompiledCompositeActor
IllegalActionException
- If this object is not a subclass
of ptolemy.actor.lib.jni.EmbeddedCActor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |