Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
HookEventProcState Class Reference

#include <G4OpenInventorXtExaminerViewer.hh>

Inheritance diagram for HookEventProcState:
G4VStateDependent

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
 

Detailed Description

Definition at line 34 of file G4OpenInventorXtExaminerViewer.hh.

Constructor & Destructor Documentation

HookEventProcState::HookEventProcState ( G4OpenInventorXtExaminerViewer vwr)

Definition at line 4725 of file G4OpenInventorXtExaminerViewer.cc.

4726 {
4727  this->viewer = vwr;
4728 }
HookEventProcState::~HookEventProcState ( )

Definition at line 4731 of file G4OpenInventorXtExaminerViewer.cc.

4732 {;}

Member Function Documentation

G4bool HookEventProcState::Notify ( G4ApplicationState  requiredState)
virtual

Implements G4VStateDependent.

Definition at line 4735 of file G4OpenInventorXtExaminerViewer.cc.

References G4State_EventProc.

4736 {
4737  if(requiredState == G4State_EventProc){
4738  this->viewer->newEvents = true;
4739  }
4740  return true;
4741 }

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