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