OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Sample Class Reference

#include </home/jenkins/root/workspace/OSVR-Core-Docs/plugins/videobasedtracker/DirectShowCameraLib/MediaSampleExchange.h>

Public Member Functions

 ~Sample ()
 Destructor - signals consumer finished.
 
 Sample (Sample &&other)
 Move constructor.
 
Sampleoperator= (Sample const &)=delete
 
IMediaSample & get ()
 
osvr::util::time::TimeValue const & getTimestamp () const
 

Friends

class MediaSampleExchange
 

Detailed Description

An RAII class for retrieving the sample and signalling consumption complete. (A move-construction-only object.)

Definition at line 44 of file MediaSampleExchange.h.

Member Function Documentation

IMediaSample& Sample::get ( )
inline

Access the contained sample. Do not retain pointers to this or any sub-object after this Sample object goes out of scope!

Definition at line 59 of file MediaSampleExchange.h.


The documentation for this class was generated from the following file: