FrameHandlerSink::tCreateData Structure

This structure describes the parameters that were used to create a FrameHandlerSink. You can access the tCreateData of a FrameHandlerSink by calling FrameHandlerSink::getCreateData, and passing it to FrameHandlerSink::create to create a similar FrameHandlerSink.
Syntax:
          struct tCreateData
{
                  tCreateData( unsigned int countBuffers );
                  tCreateData( IFrameFilter* pFilter, unsigned int countBuffers = 0 );
                  tCreateData( const tFrameFilterList& lst, unsigned int countBuffers = 0 );
                  tCreateData( IFrameFilter* pFilter, const FrameTypeInfo& type, unsigned int countBuffers );
                  tCreateData( const tFrameFilterList& lst, const FrameTypeInfo& type, unsigned int countBuffers );
                  tCreateData( IFrameFilter* pFilter, const smart_ptr<MemBufferCollection>& pCol );
                  tCreateData( const tFrameFilterList& lst, const smart_ptr<MemBufferCollection>& pCol );

                  tCreateData( const smart_ptr<MemBufferCollection>& pCol );
                  tCreateData( const FrameTypeInfo& type, unsigned int countBuffers );
                  tCreateData( const FrameTypeInfoArray& acceptedInputTypes, unsigned int countBuffers );

                  unsigned int                   m_BufferCount;

                  FrameTypeInfoArray             m_FrameTypes;
                  smart_ptr<MemBufferCollection> m_pCollection;

                  tFrameFilterList               m_filterChain;
};

Value Description
m_BufferCount

Specifies the number of buffers in the MemBufferCollection.

m_FrameTypes

Specifies the allowed frame types of the MemBufferCollection.

m_pCollection

Specifies a custom MemBufferCollection

m_filterChain

Specifies a chain of IFrameFilters.

<< FrameHandlerSink