Geant4-11
Public Member Functions | Private Attributes
HookEventProcState Class Reference

#include <G4OpenInventorQtExaminerViewer.hh>

Inheritance diagram for HookEventProcState:
G4VStateDependent G4VStateDependent

Public Member Functions

 HookEventProcState (G4OpenInventorQtExaminerViewer *)
 
 HookEventProcState (G4OpenInventorXtExaminerViewer *)
 
virtual G4bool Notify (G4ApplicationState requestedState)
 
virtual G4bool Notify (G4ApplicationState requiredState)
 
G4bool operator!= (const G4VStateDependent &right) const
 
G4bool operator== (const G4VStateDependent &right) const
 
 ~HookEventProcState ()
 
 ~HookEventProcState ()
 

Private Attributes

G4OpenInventorQtExaminerViewerviewer
 
G4OpenInventorXtExaminerViewerviewer
 

Detailed Description

Definition at line 39 of file G4OpenInventorQtExaminerViewer.hh.

Constructor & Destructor Documentation

◆ HookEventProcState() [1/2]

HookEventProcState::HookEventProcState ( G4OpenInventorQtExaminerViewer vwr)

Definition at line 4103 of file G4OpenInventorQtExaminerViewer.cc.

4104{
4105 viewer = vwr;
4106}
G4OpenInventorQtExaminerViewer * viewer

References viewer.

◆ ~HookEventProcState() [1/2]

HookEventProcState::~HookEventProcState ( )

Definition at line 4108 of file G4OpenInventorQtExaminerViewer.cc.

4109{;}

◆ HookEventProcState() [2/2]

HookEventProcState::HookEventProcState ( G4OpenInventorXtExaminerViewer vwr)

Definition at line 4924 of file G4OpenInventorXtExaminerViewer.cc.

4925{
4926 this->viewer = vwr;
4927}

References viewer.

◆ ~HookEventProcState() [2/2]

HookEventProcState::~HookEventProcState ( )

Member Function Documentation

◆ Notify() [1/2]

G4bool HookEventProcState::Notify ( G4ApplicationState  requestedState)
virtual

Implements G4VStateDependent.

Definition at line 4111 of file G4OpenInventorQtExaminerViewer.cc.

4112{
4113 if (requestedState == G4State_EventProc) viewer->newEvents = true;
4114 return true;
4115}
@ G4State_EventProc

References G4State_EventProc, G4OpenInventorQtExaminerViewer::newEvents, and viewer.

◆ Notify() [2/2]

virtual G4bool HookEventProcState::Notify ( G4ApplicationState  requiredState)
virtual

Implements G4VStateDependent.

◆ operator!=()

G4bool G4VStateDependent::operator!= ( const G4VStateDependent right) const
inherited

Definition at line 66 of file G4VStateDependent.cc.

67{
68 return (this != &right);
69}

◆ operator==()

G4bool G4VStateDependent::operator== ( const G4VStateDependent right) const
inherited

Definition at line 61 of file G4VStateDependent.cc.

62{
63 return (this == &right);
64}

Field Documentation

◆ viewer [1/2]

G4OpenInventorQtExaminerViewer* HookEventProcState::viewer
private

Definition at line 46 of file G4OpenInventorQtExaminerViewer.hh.

Referenced by HookEventProcState(), and Notify().

◆ viewer [2/2]

G4OpenInventorXtExaminerViewer* HookEventProcState::viewer
private

Definition at line 38 of file G4OpenInventorXtExaminerViewer.hh.


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