/// <summary> /// Allows access to the <see cref="OfferedIncompatibleQosStatus" /> communication status. /// </summary> /// <param name="status">The <see cref="OfferedIncompatibleQosStatus" /> to be filled up.</param> /// <returns>The <see cref="ReturnCode" /> that indicates the operation result.</returns> public ReturnCode GetOfferedIncompatibleQosStatus(ref OfferedIncompatibleQosStatus status) { OfferedIncompatibleQosStatusWrapper s = default; ReturnCode ret = UnsafeNativeMethods.GetOfferedIncompatibleQosStatus(_native, ref s); status.FromNative(s); return(ret); }
private void OnOfferedIncompatibleQosHandler(IntPtr writer, ref OfferedIncompatibleQosStatusWrapper status) { Entity entity = EntityManager.Instance.Find(writer); DataWriter dataWriter = null; if (entity != null) { dataWriter = entity as DataWriter; } OfferedIncompatibleQosStatus ret = default; ret.FromNative(status); OnOfferedIncompatibleQos(dataWriter, ret); }