Package ptolemy.actor

Examples of ptolemy.actor.TypedIOPort.link()


                            } else {
                                throw new PtalonRuntimeException(
                                        "No port named " + portName);
                            }
                        }
                        port.link(relation);
                    } else if (_getType(name).equals("transparent")) {
                        TypedIOPort port = (TypedIOPort) _actor
                                .getPort(portName);
                        if (_transparentRelations.containsKey(name)) {
                            TypedIOPort connectionPoint = _transparentRelations
View Full Code Here


                                    throw new PtalonRuntimeException(
                                            "No port named " + portName);
                                }
                            }
                            port.link(rel);
                            connectionPoint.link(rel);
                        } else {
                            if (port == null) {
                                throw new PtalonRuntimeException(
                                        "No port named " + portName);
                            }
View Full Code Here

        scale2.input.link(cr4);
        ctSampler.input.link(cr4);

        TypedIORelation cr5 = new TypedIORelation(ctsub, "CR5");
        ctSampler.output.link(cr5);
        subout.link(cr5);
        ctsub.connect(scale1.output, add1.plus, "CR6");
        ctsub.connect(scale2.output, add1.plus, "CR7");
        ctsub.connect(scale4.output, add1.plus, "CR8");

        TypedIORelation cr9 = new TypedIORelation(ctsub, "CR9");
View Full Code Here

                                                    + ": created relation "
                                                    + relation.getFullName());
                                        }
                                    }

                                    otherPort.link(relation);
                                }

                                if (!isPortLinked) {
                                    newPort.link(relation);
                                    isPortLinked = 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.