Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
librealsense::ivcam2::ac_trigger::ac_logger Class Reference
Inheritance diagram for librealsense::ivcam2::ac_trigger::ac_logger:
Inheritance graph
[legend]

Public Member Functions

 ac_logger (bool to_stdout=false)
 
void close_active ()
 
std::string const & get_active_dir () const
 
void on_log (rs2_log_severity severity, rs2_log_message const &msg) noexceptoverride
 
void open_active ()
 
void release () override
 
bool set_active_dir ()
 
- Public Member Functions inherited from rs2_log_callback
virtual ~rs2_log_callback ()
 

Static Public Member Functions

static void add_dir_sep (std::string &path)
 
static std::string get_debug_path_base ()
 

Static Private Member Functions

static void write_out (std::string const &s)
 

Private Attributes

std::string _active_dir
 
std::ofstream _f_active
 
std::ofstream _f_main
 
bool _to_stdout
 

Detailed Description

Definition at line 439 of file ac-trigger.cpp.

Constructor & Destructor Documentation

librealsense::ivcam2::ac_trigger::ac_logger::ac_logger ( bool  to_stdout = false)
inlineexplicit

Definition at line 447 of file ac-trigger.cpp.

Member Function Documentation

static void librealsense::ivcam2::ac_trigger::ac_logger::add_dir_sep ( std::string path)
inlinestatic

Definition at line 479 of file ac-trigger.cpp.

void librealsense::ivcam2::ac_trigger::ac_logger::close_active ( )
inline

Definition at line 547 of file ac-trigger.cpp.

std::string const& librealsense::ivcam2::ac_trigger::ac_logger::get_active_dir ( ) const
inline

Definition at line 530 of file ac-trigger.cpp.

static std::string librealsense::ivcam2::ac_trigger::ac_logger::get_debug_path_base ( )
inlinestatic

Definition at line 490 of file ac-trigger.cpp.

void librealsense::ivcam2::ac_trigger::ac_logger::on_log ( rs2_log_severity  severity,
rs2_log_message const &  msg 
)
inlineoverridevirtualnoexcept

Implements rs2_log_callback.

Definition at line 559 of file ac-trigger.cpp.

void librealsense::ivcam2::ac_trigger::ac_logger::open_active ( )
inline

Definition at line 532 of file ac-trigger.cpp.

void librealsense::ivcam2::ac_trigger::ac_logger::release ( )
inlineoverridevirtual

Implements rs2_log_callback.

Definition at line 579 of file ac-trigger.cpp.

bool librealsense::ivcam2::ac_trigger::ac_logger::set_active_dir ( )
inline

Definition at line 507 of file ac-trigger.cpp.

static void librealsense::ivcam2::ac_trigger::ac_logger::write_out ( std::string const &  s)
inlinestaticprivate

Definition at line 582 of file ac-trigger.cpp.

Member Data Documentation

std::string librealsense::ivcam2::ac_trigger::ac_logger::_active_dir
private

Definition at line 443 of file ac-trigger.cpp.

std::ofstream librealsense::ivcam2::ac_trigger::ac_logger::_f_active
private

Definition at line 442 of file ac-trigger.cpp.

std::ofstream librealsense::ivcam2::ac_trigger::ac_logger::_f_main
private

Definition at line 441 of file ac-trigger.cpp.

bool librealsense::ivcam2::ac_trigger::ac_logger::_to_stdout
private

Definition at line 444 of file ac-trigger.cpp.


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


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