Public Member Functions | Private Member Functions | Private Attributes | List of all members
rs2::export_manager Class Reference

#include <notifications.h>

Inheritance diagram for rs2::export_manager:
Inheritance graph
[legend]

Public Member Functions

 export_manager (const std::string &fname, std::unique_ptr< rs2::filter > exporter, frame data)
 
frame get_data () const
 
std::string get_filename () const
 
- Public Member Functions inherited from rs2::process_manager
void check_error (std::string &error)
 
bool done () const
 
void fail (std::string error)
 
bool failed () const
 
const std::stringget_log () const
 
int get_progress () const
 
void log (std::string line)
 
 process_manager (std::string name)
 
void reset ()
 
void start (invoker invoke)
 
bool started () const
 
virtual ~process_manager ()=default
 

Private Member Functions

void process_flow (std::function< void()> cleanup, invoker invoke) override
 

Private Attributes

frame _data
 
std::unique_ptr< rs2::filter_exporter
 
std::string _fname
 

Additional Inherited Members

- Protected Attributes inherited from rs2::process_manager
bool _done = false
 
bool _failed = false
 
std::string _last_error
 
std::string _log
 
std::mutex _log_lock
 
std::string _process_name
 
int _progress = 0
 
bool _started = false
 

Detailed Description

Definition at line 249 of file notifications.h.

Constructor & Destructor Documentation

rs2::export_manager::export_manager ( const std::string fname,
std::unique_ptr< rs2::filter exporter,
frame  data 
)
inline

Definition at line 252 of file notifications.h.

Member Function Documentation

frame rs2::export_manager::get_data ( ) const
inline

Definition at line 256 of file notifications.h.

std::string rs2::export_manager::get_filename ( ) const
inline

Definition at line 255 of file notifications.h.

void rs2::export_manager::process_flow ( std::function< void()>  cleanup,
invoker  invoke 
)
overrideprivatevirtual

Implements rs2::process_manager.

Definition at line 818 of file notifications.cpp.

Member Data Documentation

frame rs2::export_manager::_data
private

Definition at line 265 of file notifications.h.

std::unique_ptr<rs2::filter> rs2::export_manager::_exporter
private

Definition at line 264 of file notifications.h.

std::string rs2::export_manager::_fname
private

Definition at line 263 of file notifications.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40