Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
session Class Reference
+ Inheritance diagram for session:

Public Member Functions

 session (std::ostream &a_out, int a_argc, char **a_argv)
 
virtual ~session ()
 

Protected Member Functions

 session (const session &a_from)
 
sessionoperator= (const session &a_from)
 

Detailed Description

Definition at line 35 of file G4ToolsSGXtGLES.cc.

Constructor & Destructor Documentation

◆ session() [1/2]

session::session ( std::ostream &  a_out,
int  a_argc,
char **  a_argv 
)
inline

Definition at line 38 of file G4ToolsSGXtGLES.cc.

39 :parent(a_out,a_argc,a_argv)
40 {
41 if(m_app_widget) {::XtDestroyWidget(m_app_widget);m_app_widget = nullptr;}
42 if(m_app_context) {::XtDestroyApplicationContext(m_app_context);m_app_context = nullptr;}
43 m_app_widget = (Widget)G4Xt::getInstance()->GetMainInteractor();
44 m_app_context = ::XtWidgetToApplicationContext(m_app_widget);
45 }
G4Interactor GetMainInteractor()
static G4Xt * getInstance()
Definition: G4Xt.cc:55

◆ ~session()

virtual session::~session ( )
inlinevirtual

Definition at line 46 of file G4ToolsSGXtGLES.cc.

46{}

◆ session() [2/2]

session::session ( const session a_from)
inlineprotected

Definition at line 48 of file G4ToolsSGXtGLES.cc.

48:parent(a_from){}

Member Function Documentation

◆ operator=()

session & session::operator= ( const session a_from)
inlineprotected

Definition at line 49 of file G4ToolsSGXtGLES.cc.

49{parent::operator=(a_from);return *this;}

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