internal static void CopyOut(IntPtr from, ref TimeBasedFilterQosPolicy to, int offset)
 {
 	if (to == null) to = new TimeBasedFilterQosPolicy();
     to.MinimumSeparation = BaseMarshaler.ReadDuration(from, offset + offset_minimum_separation);
 }
 internal void CopyOut(ref TimeBasedFilterQosPolicy to)
 {
     CopyOut(GapiPtr, ref to, 0);
 }
 internal static DDS.ReturnCode CopyIn(TimeBasedFilterQosPolicy from, IntPtr to, int offset)
 {
     DDS.ReturnCode result = DDS.ReturnCode.Ok;
     if (from != null) {
         BaseMarshaler.Write(to, offset + offset_minimum_separation, from.MinimumSeparation);
     } else {
         result = DDS.ReturnCode.BadParameter;
         DDS.OpenSplice.OS.Report(
                 DDS.OpenSplice.ReportType.OS_ERROR,
                 "DDS.OpenSplice.CustomMarshalers.TimeBasedFilterQosPolicyMarshaler.CopyIn",
                 "DDS/OpenSplice/CustomMarshalers/QosContainedMarshalers.cs",
                 DDS.ErrorCode.InvalidValue,
                 "TimeBasedFilterQosPolicy attribute may not be a null pointer.");
     }
     return result; 
 }
 internal DDS.ReturnCode CopyIn(TimeBasedFilterQosPolicy from)
 {
     cleanupRequired = true;
     return CopyIn(from, GapiPtr, 0);
 }
Example #5
0
 public ModifiableTimeBasedFilterQosPolicy CopyFrom(TimeBasedFilterQosPolicy other)
 {
     return new ModifiableTimeBasedFilterQosPolicyImpl (other);
 }
Example #6
0
 public ModifiableTimeBasedFilterQosPolicyImpl(TimeBasedFilterQosPolicy qos)
     : base(qos.GetMinimumSeparation(),qos.GetBootstrap())
 {
 }