Package eu.ha3.matmos.engine.core.interfaces

Examples of eu.ha3.matmos.engine.core.interfaces.Named


              eelt.event, this.providers.getEvent(), eelt.vol_mod, eelt.pitch_mod, eelt.delay_min,
              eelt.delay_max, eelt.delay_start));
          }
        }
       
        StreamInformation stream = null;
        if (serial.stream != null)
        {
          stream =
            new StreamInformation(
              entry.getKey(), this.providers.getMachine(), this.providers.getReferenceTime(),
              this.providers.getSoundRelay(), serial.stream.path, serial.stream.vol, serial.stream.pitch,
              serial.delay_fadein, serial.delay_fadeout, serial.fadein, serial.fadeout,
              serial.stream.looping, serial.stream.pause);
        }
View Full Code Here


       
        if (serial.event != null)
        {
          for (SerialMachineEvent eelt : serial.event)
          {
            events.add(new TimedEvent(
              eelt.event, this.providers.getEvent(), eelt.vol_mod, eelt.pitch_mod, eelt.delay_min,
              eelt.delay_max, eelt.delay_start));
          }
        }
       
View Full Code Here

              this.providers.getSoundRelay(), serial.stream.path, serial.stream.vol, serial.stream.pitch,
              serial.delay_fadein, serial.delay_fadeout, serial.fadein, serial.fadeout,
              serial.stream.looping, serial.stream.pause);
        }
       
        TimedEventInformation tie = null;
        if (serial.event.size() > 0)
        {
          tie =
            new TimedEventInformation(
              entry.getKey(), this.providers.getMachine(), this.providers.getReferenceTime(), events,
              serial.delay_fadein, serial.delay_fadeout, serial.fadein, serial.fadeout);
        }
       
        Named element =
View Full Code Here

  private void link(Distances reliables, int xR, int yR, Distances dependables, int xD, int yD)
  {
    for (String name : dependables.keySet())
    {
      int yDapplied = yD + this.GAP * dependables.get(name);
      Dependable dependable = dependables.dependable(name);
     
      if (dependable instanceof Junction)
      {
        link(reliables, xR, yR, ((Junction) dependable).getSpecialDependencies("yes"), xD, yDapplied, true);
        link(reliables, xR, yR, ((Junction) dependable).getSpecialDependencies("no"), xD, yDapplied, false);
View Full Code Here

            new TimedEventInformation(
              entry.getKey(), this.providers.getMachine(), this.providers.getReferenceTime(), events,
              serial.delay_fadein, serial.delay_fadeout, serial.fadein, serial.fadeout);
        }
       
        Named element =
          new Machine(
            entry.getKey(), this.providers.getJunction(), asList(serial.allow), asList(serial.restrict),
            tie, stream);
        this.elements.add(element);
      }
View Full Code Here

      deleteInMap(root.list, oldName);
    }
   
    for (SerialCondition condition : root.condition.values())
    {
      Operator op = Operator.fromSerializedForm(condition.symbol);
      if (op == Operator.IN_LIST || op == Operator.NOT_IN_LIST)
      {
        if (condition.value.equals(oldName))
        {
          if (isRename)
View Full Code Here

  @Override
  public void evaluate()
  {
    if (this.dynamicMapped.size() > 0)
    {
      Sheet dynamic = this.data.getSheet(Dynamic.DEDICATED_SHEET);
      for (Evaluated o : this.dynamicMapped.values())
      {
        o.evaluate();
        dynamic.set(((Dynamic) o).getName(), Long.toString(((Dynamic) o).getInformation()));
      }
    }
   
    for (Evaluated o : this.conditionMapped.values())
    {
View Full Code Here

  public static String dumpData(Data data)
  {
    StringBuilder s = new StringBuilder();
    for (String sheetName : data.getSheetNames())
    {
      Sheet sheet = data.getSheet(sheetName);
     
      s.append(sheetName + "\n");
      for (String index : sheet.keySet())
      {
        s.append("  " + index + ":" + sheet.get(index) + "\n");
      }
    }
    return s.toString();
  }
View Full Code Here

      {
        index = recomputeBlockName(index);
        sheet = recomputeScanSheetName(sheet);
      }
     
      SheetIndex si = new LegacySheetIndex_Engine0to1(sheet, index);
     
      sdsi.sheet = si.getSheet();
      sdsi.index = si.getIndex();
      dynamic.entries.add(sdsi);
    }
   
    this.root.dynamic.put(name, dynamic);
  }
View Full Code Here

    {
      indexNotComputed = recomputeBlockName(indexNotComputed);
      sheetNotComputed = recomputeScanSheetName(sheetNotComputed);
    }
   
    SheetIndex si =
      !dynamic ? new LegacySheetIndex_Engine0to1(sheetNotComputed, indexNotComputed) : new SheetEntry(
        sheetNotComputed, indexNotComputed);
   
    {
      SerialCondition condition = new SerialCondition();
     
      condition.sheet = si.getSheet();
      condition.index = si.getIndex();
      condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
      condition.value = value;
     
      this.root.condition.put(name, condition);
    }
    if (si instanceof LegacySheetIndex_Engine0to1)
    {
      if (((LegacySheetIndex_Engine0to1) si).isBlock() && asBlock(value) != null)
      {
        SerialCondition condition = new SerialCondition();
       
        condition.sheet = si.getSheet();
        condition.index = si.getIndex();
        condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
        condition.value = asBlock(value);
       
        this.root.condition.put(name + AS_BLOCK, condition);
      }
     
      if (((LegacySheetIndex_Engine0to1) si).isItem() && asItem(value) != null)
      {
        SerialCondition condition = new SerialCondition();
       
        condition.sheet = si.getSheet();
        condition.index = si.getIndex();
        condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
        condition.value = asItem(value);
       
        this.root.condition.put(name + AS_ITEM, condition);
      }
View Full Code Here

TOP

Related Classes of eu.ha3.matmos.engine.core.interfaces.Named

Copyright © 2018 www.massapicom. 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.