Share via


List and Queue Classes

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

DirectShow implements the CBaseList, CGenericList, and COutputQueue classes for handling lists and queues as illustrated in the following diagram.

Aa921721.de0f2981-c2eb-4cdd-aeed-0889cf10130f(en-us,MSDN.10).gif

CBaseList represents a linked list data structure of typeless pointers to objects derived from CBaseObject.

CGenericList implements a template class derived from CBaseList that calls CBaseList member functions and adds type checking for the type specified in the template.

COutputQueue supports the queuing of media samples from the output pin of a filter. The output pin calls member functions of this class instead of calling methods on the connected input pin to receive the media sample. The output pin is then free to continue without blocking, while the COutputQueue class handles the passing of the media samples downstream.