25 #ifndef INCLUDED_SampleGrabberWrapper_h_GUID_3A2E02D3_5BD5_44B2_E95F_A31FE3B13ED1 26 #define INCLUDED_SampleGrabberWrapper_h_GUID_3A2E02D3_5BD5_44B2_E95F_A31FE3B13ED1 47 MediaSampleExchangePtr
getExchange()
const {
return sampleExchange_; }
60 std::unique_ptr<Impl> impl_;
61 MediaSampleExchangePtr sampleExchange_;
63 std::unique_ptr<directx_samplegrabber_callback> callback_;
65 #endif // INCLUDED_SampleGrabberWrapper_h_GUID_3A2E02D3_5BD5_44B2_E95F_A31FE3B13ED1 Header with a template alias for the desired COM smart pointer.
MediaSampleExchangePtr getExchange() const
Get the producer/consumer object used to consume samples.
Definition: SampleGrabberWrapper.h:47
void shutdown()
Gets the callback to finish up all its samples.
Definition: SampleGrabberWrapper.cpp:92
comutils::Ptr< IBaseFilter > getFilter()
Get the SampleGrabber filter by its IBaseFilter interface.
Definition: SampleGrabberWrapper.h:50
void getConnectedMediaType(AM_MEDIA_TYPE &mt)
Forwards call on to SampleGrabber.
Definition: SampleGrabberWrapper.cpp:82
boost::intrusive_ptr< T > Ptr
Template alias for our desired COM smart pointer.
Definition: ComPtr.h:40
Definition: SampleGrabberWrapper.cpp:38
Definition: directx_samplegrabber_callback.h:44
Definition: SampleGrabberWrapper.h:41