Exemple #1
0
        /// <summary>
        /// Allows access to the <see cref="RequestedIncompatibleQosStatus" /> communication status.
        /// </summary>
        /// <param name="status">The <see cref="RequestedIncompatibleQosStatus" /> to be filled up.</param>
        /// <returns>The <see cref="ReturnCode" /> that indicates the operation result.</returns>
        public ReturnCode GetRequestedIncompatibleQosStatus(ref RequestedIncompatibleQosStatus status)
        {
            RequestedIncompatibleQosStatusWrapper s = default;

            ReturnCode ret = UnsafeNativeMethods.GetRequestedIncompatibleQosStatus(_native, ref s);

            status.FromNative(s);

            return(ret);
        }
Exemple #2
0
        private void OnRequestedIncompatibleQosHandler(IntPtr reader, ref RequestedIncompatibleQosStatusWrapper status)
        {
            Entity entity = EntityManager.Instance.Find(reader);

            DataReader dataReader = null;

            if (entity != null)
            {
                dataReader = entity as DataReader;
            }

            RequestedIncompatibleQosStatus ret = default;

            ret.FromNative(status);

            OnRequestedIncompatibleQos(dataReader, ret);
        }