Geant4-11
Macros | Variables
G4Xt.cc File Reference
#include <stdlib.h>
#include <string.h>
#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include "G4ios.hh"
#include "G4Xt.hh"

Go to the source code of this file.

Macros

#define NewString(str)    ((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : NULL)
 

Variables

static XtAppContext appContext = NULL
 
static int argn = 0
 
static char ** args = NULL
 
static Widget topWidget = NULL
 
static G4bool XtInited = FALSE
 

Macro Definition Documentation

◆ NewString

#define NewString (   str)     ((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : NULL)

Definition at line 40 of file G4Xt.cc.

Variable Documentation

◆ appContext

XtAppContext appContext = NULL
static

Definition at line 52 of file G4Xt.cc.

Referenced by G4Xt::G4Xt(), and G4Xt::GetEvent().

◆ argn

int argn = 0
static

Definition at line 50 of file G4Xt.cc.

Referenced by G4Xt::G4Xt().

◆ args

char** args = NULL
static

Definition at line 51 of file G4Xt.cc.

Referenced by G4OpenGLXmViewer::Add_radio_box(), G4UIXm::AddMenu(), G4OpenInventorXtExaminerViewer::addMenu(), G4OpenInventorXtExtendedViewer::AddMenu(), G4OpenInventorXtViewer::AddMenu(), PTL::TaskManager::async(), G4OpenInventorXtExaminerViewer::buildWidget(), G4TaskSingletonDelegator< T >::Configure(), G4Profiler::Configure(), G4RunManager::ConfigureProfilers(), G4OpenInventorXtExaminerViewer::constructListsDialog(), G4OpenInventorXtExaminerViewer::createElementsList(), G4RunManagerFactory::CreateRunManager(), G4OpenInventorXtExaminerViewer::createViewerButtons(), PTL::TaskManager::exec(), G4THREADCREATE(), G4UIXm::G4UIXm(), G4Xt::G4Xt(), gl2psMsg(), gl2psPrintf(), G4OpenInventorXtExtendedViewer::Initialise(), G4OpenInventorXtViewer::Initialise(), G4ToolsSGQtGLES::Initialise(), MCGIDI_misc_setMessageError_Element(), MCGIDI_product_evaluatePolynomial(), MCGIDI_product_parsePolynomialMultiplicity(), nf_Legendre_from_ptwXY_callback(), nfu_printErrorMsg(), nfu_printMsg(), PTL::JoinFunction< JoinT, JoinArg >::operator()(), PTL::JoinFunction< void, JoinArg >::operator()(), G4OpenInventorXtExaminerViewer::popUpFileSelDialog(), SbPainterPS::printFLN(), G4UIXm::Prompt(), SbPainterPS::putInStreamF(), PTL::TaskManager::rexec(), PTL::TaskGroup< Tp, Arg, MaxDepth >::run(), G4OpenInventorXtExaminerViewer::saveRefCoordsCB(), G4OpenInventorXtExaminerViewer::saveRefCoordsDialogCB(), G4OpenInventorXtExaminerViewer::saveSceneGraphCB(), G4OpenInventorXtExaminerViewer::saveSceneGraphDialogCB(), G4OpenInventorXtExaminerViewer::saveViewPtCB(), G4PlotterManager::Messenger::SetNewValue(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::SetNewValue(), smr_allocateFormatMessage(), smr_setAllocationFailure(), smr_setReport(), smr_setReportError(), smr_setReportInfo(), smr_setReportWarning(), smr_vallocateFormatMessage(), smr_vsetReportError(), smr_vsetReportInfo(), smr_vsetReportWarning(), G4OpenInventorXtExaminerViewer::warningMsgDialog(), PTL::TaskGroup< Tp, Arg, MaxDepth >::wrap(), PTL::TaskManager::wrap(), and xDataTOM_setMessageError_ReturnInt().

◆ topWidget

Widget topWidget = NULL
static

◆ XtInited

G4bool XtInited = FALSE
static

Definition at line 49 of file G4Xt.cc.

Referenced by G4Xt::G4Xt(), and G4Xt::Inited().