コード例 #1
0
  public void skip(
      Object endpoint_data,
      CdrInputStream src,
      boolean skip_encapsulation,
      boolean skip_sample,
      Object endpoint_plugin_qos) {
    int position = 0;

    if (skip_encapsulation) {
      src.skipEncapsulation();

      position = src.resetAlignment();
    }

    if (skip_sample) {

      src.skipString();

      src.skipString();

      org.openfmb.model.dds.rti.openfmb.commonmodule.EndDeviceControlTypeTypeSupport.get_instance()
          .skip(endpoint_data, src, false, true, endpoint_plugin_qos);

      org.openfmb.model.dds.rti.openfmb.commonmodule.DateTimeIntervalTypeSupport.get_instance()
          .skip(endpoint_data, src, false, true, endpoint_plugin_qos);

      org.openfmb.model.dds.rti.openfmb.commonmodule.SequenceOfEndDeviceControlSetPointsTypeSupport
          .get_instance()
          .skip(endpoint_data, src, false, true, endpoint_plugin_qos);
    }

    if (skip_encapsulation) {
      src.restoreAlignment(position);
    }
  }
コード例 #2
0
  public void skip(
      Object endpoint_data,
      CdrInputStream src,
      boolean skip_encapsulation,
      boolean skip_sample,
      Object endpoint_plugin_qos) {
    int position = 0;

    if (skip_encapsulation) {
      src.skipEncapsulation();

      position = src.resetAlignment();
    }

    if (skip_sample) {

      src.skipLong();

      src.skipFloat();
    }

    if (skip_encapsulation) {
      src.restoreAlignment(position);
    }
  }
  public void skip(
      Object endpoint_data,
      CdrInputStream src,
      boolean skip_encapsulation,
      boolean skip_sample,
      Object endpoint_plugin_qos) {
    int position = 0;

    if (skip_encapsulation) {
      src.skipEncapsulation();

      position = src.resetAlignment();
    }

    if (skip_sample) {

      org.openfmb.model.dds.rti.common.SetPointTypeSupport.get_instance()
          .skip_sequence(endpoint_data, src, endpoint_plugin_qos);
    }

    if (skip_encapsulation) {
      src.restoreAlignment(position);
    }
  }