Geant4  10.02.p03
HookEventProcState Class Reference

#include <G4OpenInventorXtExaminerViewer.hh>

Inheritance diagram for HookEventProcState:
Collaboration diagram for HookEventProcState:

Public Member Functions

 HookEventProcState (G4OpenInventorXtExaminerViewer *)
 
 ~HookEventProcState ()
 
virtual G4bool Notify (G4ApplicationState requiredState)
 
- Public Member Functions inherited from G4VStateDependent
 G4VStateDependent (G4bool bottom=false)
 
virtual ~G4VStateDependent ()
 
G4int operator== (const G4VStateDependent &right) const
 
G4int operator!= (const G4VStateDependent &right) const
 

Private Attributes

G4OpenInventorXtExaminerViewerviewer
 

Detailed Description

Definition at line 35 of file G4OpenInventorXtExaminerViewer.hh.

Constructor & Destructor Documentation

◆ HookEventProcState()

HookEventProcState::HookEventProcState ( G4OpenInventorXtExaminerViewer vwr)

Definition at line 4837 of file G4OpenInventorXtExaminerViewer.cc.

4838 {
4839  this->viewer = vwr;
4840 }
G4OpenInventorXtExaminerViewer * viewer

◆ ~HookEventProcState()

HookEventProcState::~HookEventProcState ( )

Definition at line 4843 of file G4OpenInventorXtExaminerViewer.cc.

4844 {;}

Member Function Documentation

◆ Notify()

G4bool HookEventProcState::Notify ( G4ApplicationState  requiredState)
virtual

Implements G4VStateDependent.

Definition at line 4847 of file G4OpenInventorXtExaminerViewer.cc.

4848 {
4849  if(requiredState == G4State_EventProc){
4850  this->viewer->newEvents = true;
4851  }
4852  return true;
4853 }
G4OpenInventorXtExaminerViewer * viewer

Member Data Documentation

◆ viewer

G4OpenInventorXtExaminerViewer* HookEventProcState::viewer
private

Definition at line 38 of file G4OpenInventorXtExaminerViewer.hh.


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