Examples of outputPortList()


Examples of ptolemy.actor.CompositeActor.outputPortList()

                .getToken()).booleanValue();
        boolean padBuffers = ((BooleanToken) _codeGenerator.padBuffers
                .getToken()).booleanValue();

        StringBuffer tempCode = new StringBuffer();
        Iterator outputPorts = container.outputPortList().iterator();
        while (outputPorts.hasNext()) {

            IOPort outputPort = (IOPort) outputPorts.next();
            // If dynamic references are desired, conditionally pad buffers
            // and append the dynamic offset variables for output ports.
View Full Code Here

Examples of ptolemy.actor.CompositeActor.outputPortList()

                    }
                }
            }
        }

        Iterator outputPorts = container.outputPortList().iterator();
        while (outputPorts.hasNext()) {
            IOPort outputPort = (IOPort) outputPorts.next();
            for (int k = 0; k < outputPort.getWidthInside(); k++) {
                int newCapacity = getBufferSize(outputPort, k);
                int oldCapacity = containerHelper.getBufferSize(outputPort, k);
View Full Code Here

Examples of ptolemy.actor.CompositeActor.outputPortList()

        if (container instanceof CompiledCompositeActor
                && ((BooleanToken) _codeGenerator.generateJNI.getToken())
                        .booleanValue()) {

            if (_portNumber == 0) {
                int numberOfOutputPorts = container.outputPortList().size();

                code.append(_INDENT2 + "jobjectArray tokensToAllOutputPorts;"
                        + _eol);
                code.append(_INDENT2
                        + "jclass "
View Full Code Here

Examples of ptolemy.actor.CompositeActor.outputPortList()

                .getToken()).booleanValue();
        boolean padBuffers = ((BooleanToken) _codeGenerator.padBuffers
                .getToken()).booleanValue();

        StringBuffer tempCode = new StringBuffer();
        Iterator outputPorts = container.outputPortList().iterator();
        while (outputPorts.hasNext()) {

            IOPort outputPort = (IOPort) outputPorts.next();
            // If dynamic references are desired, conditionally pad buffers
            // and append the dynamic offset variables for output ports.
View Full Code Here

Examples of ptolemy.actor.CompositeActor.outputPortList()

                    }
                }
            }
        }

        Iterator outputPorts = container.outputPortList().iterator();
        while (outputPorts.hasNext()) {
            IOPort outputPort = (IOPort) outputPorts.next();
            for (int k = 0; k < outputPort.getWidthInside(); k++) {
                int newCapacity = getBufferSize(outputPort, k);
                int oldCapacity = containerHelper.getBufferSize(outputPort, k);
View Full Code Here

Examples of ptolemy.actor.CompositeActor.outputPortList()

                }
            }

            // Also add the inside receivers in the ports of the
            // composite actor that contains this director.
            Iterator compositePorts = container.outputPortList().iterator();

            while (compositePorts.hasNext()) {
                IOPort outputPort = (IOPort) compositePorts.next();
                Receiver[][] receivers = outputPort.getInsideReceivers();
View Full Code Here

Examples of ptolemy.actor.CompositeActor.outputPortList()

                            }
                        }
                    }
                }
            }
            Iterator outputPorts = container.outputPortList().iterator();
            while (outputPorts.hasNext()) {
                IOPort outputPort = (IOPort) outputPorts.next();
                Receiver[][] receivers = outputPort.getInsideReceivers();
                if (receivers != null) {
                    for (int m = 0; m < receivers.length; m++) {
View Full Code Here

Examples of ptolemy.actor.CompositeActor.outputPortList()

            throws IllegalActionException {
        StringBuffer code = new StringBuffer();
        CompositeActor container = (CompositeActor) getComponent()
                .getContainer();

        Iterator outputPorts = container.outputPortList().iterator();
        while (outputPorts.hasNext()) {
            IOPort outputPort = (IOPort) outputPorts.next();
            code.append(_createOffsetVariablesIfNeeded(outputPort));
        }
View Full Code Here

Examples of ptolemy.actor.TypedActor.outputPortList()

        Iterator actors = model.entityList().iterator();

        while (actors.hasNext()) {
            TypedActor actor = (TypedActor) actors.next();
            Iterator outPorts = actor.outputPortList().iterator();

            while (outPorts.hasNext()) {
                TypedIOPort port = (TypedIOPort) outPorts.next();

                // Ignore unconnected ports
View Full Code Here

Examples of ptolemy.actor.TypedCompositeActor.outputPortList()

    private void _buildOutputPortTable() throws IllegalActionException {
        TypedCompositeActor container = (TypedCompositeActor) getContainer();

        _shouldTransferOutputs = new HashMap();

        Iterator outports = container.outputPortList().iterator();

        while (outports.hasNext()) {
            IOPort port = (IOPort) outports.next();

            _shouldTransferOutputs.put(port, Boolean.TRUE);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.