VSM C++ SDK
Vehicle Specific Modules SDK
ugcs::vsm::File_processor::Stream::Native_handle::Stream_ref_holder Class Reference

Helper class to hold reference to a stream and optionally release a lock before releasing the reference to a stream. More...

#include <file_processor.h>

Public Member Functions

 Stream_ref_holder (Stream::Ptr stream, std::unique_lock< std::mutex > &&lock)
 Constructor. More...
 
 Stream_ref_holder (Stream_ref_holder &&)=default
 Default move constructor. More...
 

Detailed Description

Helper class to hold reference to a stream and optionally release a lock before releasing the reference to a stream.

Constructor & Destructor Documentation

ugcs::vsm::File_processor::Stream::Native_handle::Stream_ref_holder::Stream_ref_holder ( Stream::Ptr  stream,
std::unique_lock< std::mutex > &&  lock 
)
inline

Constructor.

ugcs::vsm::File_processor::Stream::Native_handle::Stream_ref_holder::Stream_ref_holder ( Stream_ref_holder &&  )
default

Default move constructor.


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