Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
 

Detailed Description

Definition at line 35 of file G4OpenInventorXtExaminerViewer.hh.

Constructor & Destructor Documentation

HookEventProcState::HookEventProcState ( G4OpenInventorXtExaminerViewer vwr)

Definition at line 4908 of file G4OpenInventorXtExaminerViewer.cc.

4909 {
4910  this->viewer = vwr;
4911 }
HookEventProcState::~HookEventProcState ( )

Definition at line 4914 of file G4OpenInventorXtExaminerViewer.cc.

4915 {;}

Member Function Documentation

G4bool HookEventProcState::Notify ( G4ApplicationState  requiredState)
virtual

Implements G4VStateDependent.

Definition at line 4918 of file G4OpenInventorXtExaminerViewer.cc.

4919 {
4920  if(requiredState == G4State_EventProc){
4921  this->viewer->newEvents = true;
4922  }
4923  return true;
4924 }

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