Geant4  10.02.p03
G4VStateDependent Class Referenceabstract

#include <G4VStateDependent.hh>

Inheritance diagram for G4VStateDependent:
Collaboration diagram for G4VStateDependent:

Public Member Functions

 G4VStateDependent (G4bool bottom=false)
 
virtual ~G4VStateDependent ()
 
G4int operator== (const G4VStateDependent &right) const
 
G4int operator!= (const G4VStateDependent &right) const
 
virtual G4bool Notify (G4ApplicationState requestedState)=0
 

Private Member Functions

 G4VStateDependent (const G4VStateDependent &right)
 
G4VStateDependentoperator= (const G4VStateDependent &right)
 

Detailed Description

Definition at line 55 of file G4VStateDependent.hh.

Constructor & Destructor Documentation

◆ G4VStateDependent() [1/2]

G4VStateDependent::G4VStateDependent ( G4bool  bottom = false)
explicit

Definition at line 40 of file G4VStateDependent.cc.

41 {
43  stateManager->RegisterDependent(this,bottom);
44 }
G4bool RegisterDependent(G4VStateDependent *aDependent, G4bool bottom=false)
static G4StateManager * GetStateManager()
Here is the call graph for this function:

◆ ~G4VStateDependent()

G4VStateDependent::~G4VStateDependent ( )
virtual

Definition at line 46 of file G4VStateDependent.cc.

47 {
49  stateManager->DeregisterDependent(this);
50 }
static G4StateManager * GetStateManager()
G4bool DeregisterDependent(G4VStateDependent *aDependent)
Here is the call graph for this function:

◆ G4VStateDependent() [2/2]

G4VStateDependent::G4VStateDependent ( const G4VStateDependent right)
private

Definition at line 52 of file G4VStateDependent.cc.

53 {
54  *this = right;
55 }

Member Function Documentation

◆ Notify()

virtual G4bool G4VStateDependent::Notify ( G4ApplicationState  requestedState)
pure virtual

Implemented in G4BiasingOperatorStateNotifier, G4UImanager, G4DNAChemistryManager, G4Scheduler, G4DNAMolecularMaterial, PrimaryGeneratorAction, PrimaryGeneratorAction, PrimaryGeneratorAction, G4VisStateDependent, and HookEventProcState.

Here is the caller graph for this function:

◆ operator!=()

G4int G4VStateDependent::operator!= ( const G4VStateDependent right) const

Definition at line 69 of file G4VStateDependent.cc.

70 {
71  return (this != &right);
72 }

◆ operator=()

G4VStateDependent & G4VStateDependent::operator= ( const G4VStateDependent right)
private

Definition at line 57 of file G4VStateDependent.cc.

58 {
59  if (&right == this) { return *this; }
60  *this = right;
61  return *this;
62 }

◆ operator==()

G4int G4VStateDependent::operator== ( const G4VStateDependent right) const

Definition at line 64 of file G4VStateDependent.cc.

65 {
66  return (this == &right);
67 }

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