Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4StateManager.cc File Reference
#include <boost/python.hpp>
#include "G4StateManager.hh"
Include dependency graph for pyG4StateManager.cc:

Go to the source code of this file.

Functions

void export_G4StateManager ()
 

Function Documentation

void export_G4StateManager ( )

Definition at line 40 of file pyG4StateManager.cc.

41 {
42  class_<G4StateManager, boost::noncopyable>
43  ("G4StateManager", "state manager", no_init)
44  .def("GetStateManager", &G4StateManager::GetStateManager,
45  "Get an instance of G4StateManager",
46  return_value_policy<reference_existing_object>())
47  .staticmethod("GetStateManager")
48  // ---
49  .def("GetCurrentState", &G4StateManager::GetCurrentState)
50  .def("GetPreviousState", &G4StateManager::GetPreviousState)
51  .def("GetStateString", &G4StateManager::GetStateString)
52  ;
53 }
G4ApplicationState GetPreviousState() const
static G4StateManager * GetStateManager()
G4ApplicationState GetCurrentState() const
G4String GetStateString(G4ApplicationState aState) const

Here is the call graph for this function:

Here is the caller graph for this function: