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

Go to the source code of this file.

Functions

void export_G4Timer ()
 

Function Documentation

void export_G4Timer ( )

Definition at line 40 of file pyG4Timer.cc.

41 {
42  class_<G4Timer>("G4Timer", "Timer")
43  // ---
44  .def("Start", &G4Timer::Start)
45  .def("Stop", &G4Timer::Stop)
46  .def("IsValid", &G4Timer::IsValid)
47  .def("GetRealElapsed", &G4Timer::GetRealElapsed)
48  .def("GetSystemElapsed", &G4Timer::GetSystemElapsed)
49  .def("GetUserElapsed", &G4Timer::GetUserElapsed)
50  ;
51 }
G4double GetSystemElapsed() const
Definition: G4Timer.cc:119
G4bool IsValid() const
G4double GetUserElapsed() const
Definition: G4Timer.cc:130
G4double GetRealElapsed() const
Definition: G4Timer.cc:107
void Stop()
void Start()

Here is the call graph for this function:

Here is the caller graph for this function: