Beispiel #1
0
        public static bool MightDrift(CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB)
        {
            if (clockOrTimebaseA == null)
            {
                throw new ArgumentNullException("clockOrTimebaseA");
            }

            if (clockOrTimebaseB == null)
            {
                throw new ArgumentNullException("clockOrTimebaseB");
            }

            return(CMSyncMightDrift(clockOrTimebaseA.Handle, clockOrTimebaseB.Handle));
        }
Beispiel #2
0
        public static CMSyncError GetRelativeRateAndAnchorTime(CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB, out double relativeRate, out CMTime timeA, out CMTime timeB)
        {
            if (clockOrTimebaseA == null)
            {
                throw new ArgumentNullException("clockOrTimebaseA");
            }

            if (clockOrTimebaseB == null)
            {
                throw new ArgumentNullException("clockOrTimebaseB");
            }

            return(CMSyncGetRelativeRateAndAnchorTime(clockOrTimebaseA.Handle, clockOrTimebaseB.handle, out relativeRate, out timeA, out timeB));
        }
Beispiel #3
0
        public static double GetRelativeRate(CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB)
        {
            if (clockOrTimebaseA == null)
            {
                throw new ArgumentNullException("clockOrTimebaseA");
            }

            if (clockOrTimebaseB == null)
            {
                throw new ArgumentNullException("clockOrTimebaseB");
            }

            return(CMSyncGetRelativeRate(clockOrTimebaseA.Handle, clockOrTimebaseB.Handle));
        }
Beispiel #4
0
        public static CMSyncError GetRelativeRateAndAnchorTime(CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB, out double relativeRate, out CMTime timeA, out CMTime timeB)
        {
            if (clockOrTimebaseA is null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(clockOrTimebaseA));
            }

            if (clockOrTimebaseB is null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(clockOrTimebaseB));
            }

            return(CMSyncGetRelativeRateAndAnchorTime(clockOrTimebaseA.Handle, clockOrTimebaseB.Handle, out relativeRate, out timeA, out timeB));
        }
Beispiel #5
0
        public static double GetRelativeRate(CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB)
        {
            if (clockOrTimebaseA is null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(clockOrTimebaseA));
            }

            if (clockOrTimebaseB is null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(clockOrTimebaseB));
            }

            return(CMSyncGetRelativeRate(clockOrTimebaseA.Handle, clockOrTimebaseB.Handle));
        }
Beispiel #6
0
        public static bool MightDrift(CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB)
        {
            if (clockOrTimebaseA is null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(clockOrTimebaseA));
            }

            if (clockOrTimebaseB is null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(clockOrTimebaseB));
            }

            return(CMSyncMightDrift(clockOrTimebaseA.Handle, clockOrTimebaseB.Handle));
        }