Examples of outputsByName()


Examples of de.maramuse.soundcomp.process.NamedSource.outputsByName()

  if(val instanceof ConnectionPoint){
    // named process element output, look in tables
    ConnectionPoint cp=(ConnectionPoint)val;
    if(subs.containsKey(cp.getElementName())){
    NamedSource src=subs.get(cp.getElementName());
    Parameter param=src.outputsByName().get(cp.getConnectionName());
    if(param==null)
      throw new IllegalArgumentException(MessageFormat.format(
        "Element {0} does not have output {1} in {2}", cp.getElementName(),
        cp.getConnectionName(), cp.getLocationText()));
    return new SourceStore(src, param.i);
View Full Code Here

Examples of de.maramuse.soundcomp.process.NamedSource.outputsByName()

    ConnectionPoint cp=(ConnectionPoint)val;
    String elName=cp.getElementName();
    String coName=cp.getConnectionName();
    NamedSource src=subprocesses.get(elName);
    if(src==null)throw new IllegalArgumentException("Element "+elName+" not found");
    Parameter param=src.outputsByName().get(coName);
    if(param==null)throw new IllegalArgumentException("Output "+coName+" not found in element "+elName);
    return new SourceStore(src, param.i);
  }
  if(val instanceof Element){ // a variable or an input?
    String varName=val.getText();
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.