List and Queue Classes
DirectShow implements the CBaseList, CGenericList, and COutputQueue classes for handling lists and queues as illustrated in the following diagram.
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.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.