internal static void CopyOut(v_deadlinePolicyI_s from, ref DeadlineQosPolicy to) { if (to == null) { to = new DeadlineQosPolicy(); } DurationMarshaler.CopyOut(from.v.period, ref to.Period); }
internal static DDS.ReturnCode CopyIn(DeadlineQosPolicy from, ref v_deadlinePolicyI_s to) { DDS.ReturnCode result = DDS.ReturnCode.Ok; if (from != null) { result = DurationMarshaler.CopyIn(from.Period, ref to.v.period); } else { result = DDS.ReturnCode.BadParameter; ReportStack.Report(result, "DeadlineQosPolicy attribute may not be a null pointer."); } return(result); }
internal static void CleanupIn(ref v_deadlinePolicyI_s to) { DurationMarshaler.CleanupIn(ref to.v.period); }