Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
utility::py::PyExitCallback Class Reference

This class for holding callback function. More...

#include <PyExitCallback.hh>

Inheritance diagram for utility::py::PyExitCallback:
Inheritance graph
[legend]

Public Member Functions

 ~PyExitCallback () override=default
 
virtual void exit_callback ()
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Static Public Member Functions

static void set_PyExitCallBack (PyExitCallbackOP exit_callback_object)
 
static std::string get_static_string ()
 
static std::string const get_static_string_const ()
 
static int get_static_int ()
 

Static Private Member Functions

static void global_exit_callback (void)
 
static PyExitCallbackOPcurrent_callback_object ()
 

Static Private Attributes

static std::string static_string_ = "Just static string..."
 
static std::string const static_string_const_ = "Just static string const..."
 
static int static_int_ = 42
 

Detailed Description

This class for holding callback function.

Constructor & Destructor Documentation

utility::py::PyExitCallback::~PyExitCallback ( )
overridedefault

Member Function Documentation

PyExitCallbackOP & utility::py::PyExitCallback::current_callback_object ( )
staticprivate
void utility::py::PyExitCallback::exit_callback ( )
virtual
static int utility::py::PyExitCallback::get_static_int ( )
inlinestatic

References static_int_.

static std::string utility::py::PyExitCallback::get_static_string ( )
inlinestatic

References static_string_.

static std::string const utility::py::PyExitCallback::get_static_string_const ( )
inlinestatic

References static_string_const_.

void utility::py::PyExitCallback::global_exit_callback ( void  )
staticprivate

References current_callback_object().

Referenced by set_PyExitCallBack().

void utility::py::PyExitCallback::set_PyExitCallBack ( PyExitCallbackOP  exit_callback_object)
static

Member Data Documentation

int utility::py::PyExitCallback::static_int_ = 42
staticprivate

Referenced by get_static_int().

std::string utility::py::PyExitCallback::static_string_ = "Just static string..."
staticprivate

Referenced by get_static_string().

std::string const utility::py::PyExitCallback::static_string_const_ = "Just static string const..."
staticprivate

Referenced by get_static_string_const().


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