Public Member Functions | |
| ~Sample () | |
| Destructor - signals consumer finished. | |
| Sample (Sample &&other) | |
| Move constructor. | |
| Sample & | operator= (Sample const &)=delete |
| IMediaSample & | get () |
| 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.)
Definition at line 44 of file MediaSampleExchange.h.
|
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.