GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
unwind_action_safe Class Reference

#include "unwind-prot.h"

Collaboration diagram for unwind_action_safe:

Public Member Functions

 unwind_action_safe (const unwind_action_safe &)=delete
 
template<typename F , typename... Args>
 unwind_action_safe (F &&fcn, Args &&... args)
 
 unwind_action_safe (void)
 
 ~unwind_action_safe (void)
 
void discard (void)
 
unwind_action_safeoperator= (const unwind_action_safe &)=delete
 
void run (void)
 
template<typename F , typename... Args>
void set (F &&fcn, Args &&... args)
 
void set (void)
 

Private Member Functions

void warn_unhandled_exception (void) const
 

Private Attributes

std::function< void(void)> m_fcn
 

Detailed Description

Definition at line 219 of file unwind-prot.h.

Constructor & Destructor Documentation

◆ unwind_action_safe() [1/3]

unwind_action_safe::unwind_action_safe ( void  )
inline

Definition at line 227 of file unwind-prot.h.

◆ unwind_action_safe() [2/3]

template<typename F , typename... Args>
unwind_action_safe::unwind_action_safe ( F &&  fcn,
Args &&...  args 
)
inline

Definition at line 233 of file unwind-prot.h.

◆ unwind_action_safe() [3/3]

unwind_action_safe::unwind_action_safe ( const unwind_action_safe )
delete

◆ ~unwind_action_safe()

unwind_action_safe::~unwind_action_safe ( void  )
inline

Definition at line 243 of file unwind-prot.h.

Member Function Documentation

◆ discard()

void unwind_action_safe::discard ( void  )
inline

Definition at line 257 of file unwind-prot.h.

Referenced by F__ftp_mget__(), Furlwrite(), and base_url_transfer::mget_directory().

◆ operator=()

unwind_action_safe& unwind_action_safe::operator= ( const unwind_action_safe )
delete

◆ run()

void unwind_action_safe::run ( void  )
inline

Definition at line 259 of file unwind-prot.h.

◆ set() [1/2]

template<typename F , typename... Args>
void unwind_action_safe::set ( F &&  fcn,
Args &&...  args 
)
inline

Definition at line 249 of file unwind-prot.h.

◆ set() [2/2]

void unwind_action_safe::set ( void  )
inline

Definition at line 254 of file unwind-prot.h.

◆ warn_unhandled_exception()

void unwind_action_safe::warn_unhandled_exception ( void  ) const
private

Definition at line 45 of file unwind-prot.cc.

Member Data Documentation

◆ m_fcn

std::function<void (void)> unwind_action_safe::m_fcn
private

Definition at line 277 of file unwind-prot.h.


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