Share via


Clock Base Classes (Compact 2013)

3/26/2014

DirectShow provides the following classes, CBaseReferenceClock and CSystemClock to help implement clocks in the filter graph. The following illustration shows the relationship between these classes and the interfaces they implement.

Ee492323.3762a704-48a8-44c1-a9b5-38ef1de41cd6(en-us,WinEmbedded.80).gif

CBaseReferenceClock implements IReferenceClock, and thereby provides the ability to return the correct reference time when requested, and to advise registered objects of specific times or time intervals through event notification and semaphores.

CSystemClock implements a system clock that provides time information and timing signals to an application. It overrides the actual time calls and uses the CBaseReferenceClock base class to provide most of that functionality.

See Also

Reference

Base Classes that Implement Interfaces