OSVR-Core
|
An RAII class for retrieving the sample and signalling consumption complete. More...
#include <MediaSampleExchange.h>
Public Member Functions | |
~Sample () | |
Destructor - signals consumer finished. | |
Sample (Sample &&other) | |
Move constructor. | |
Sample & | operator= (Sample const &)=delete |
IMediaSample & | get () |
Access the contained sample. More... | |
osvr::util::time::TimeValue const & | getTimestamp () const |
Friends | |
class | MediaSampleExchange |
An RAII class for retrieving the sample and signalling consumption complete.
(A move-construction-only object.)
|
inline |
Access the contained sample.
Do not retain pointers to this or any sub-object after this Sample object goes out of scope!