32 #include <boost/python.hpp> 33 #include "G4EventManager.hh" 43 class_<G4EventManager, boost::noncopyable>
44 (
"G4EventManager",
"event manager class")
45 .def(
"GetEventManager", &G4EventManager::GetEventManager,
46 return_value_policy<reference_existing_object>())
47 .staticmethod(
"GetEventManager")
49 .def(
"GetConstCurrentEvent", &G4EventManager::GetConstCurrentEvent,
50 return_internal_reference<>())
51 .def(
"GetNonconstCurrentEvent",
52 &G4EventManager::GetNonconstCurrentEvent,
53 return_internal_reference<>())
54 .def(
"AbortCurrentEvent", &G4EventManager::AbortCurrentEvent)
55 .def(
"SetNumberOfAdditionalWaitingStacks",
56 &G4EventManager::SetNumberOfAdditionalWaitingStacks)
57 .def(
"GetStackManager", &G4EventManager::GetStackManager,
58 return_value_policy<reference_existing_object>())
59 .def(
"GetTrackingManager", &G4EventManager::GetTrackingManager,
60 return_value_policy<reference_existing_object>())
61 .def(
"GetVerboseLevel", &G4EventManager::GetVerboseLevel)
62 .def(
"SetVerboseLevel", &G4EventManager::SetVerboseLevel)
63 .def(
"SetUserInformation", &G4EventManager::SetUserInformation)
64 .def(
"GetUserInformation", &G4EventManager::GetUserInformation,
65 return_value_policy<reference_existing_object>())
void export_G4EventManager()