The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi.Main.BootstrapHelper.AppMgr Class Reference

Public Member Functions

 __init__ (self, ptr, lib)
 configure (self)
 initialize (self)
 start (self)
 run (self, nevt)
 stop (self)
 finalize (self)
 terminate (self)
 getService (self, name)
 setProperty (self, name, value)
 getProperty (self, name)
 printAlgsSequences (self)
 setOption (self, key, value)

Public Attributes

 ptr = ptr
 lib = lib

Protected Attributes

 _as_parameter_ = ptr

Detailed Description

Definition at line 50 of file Main.py.

Constructor & Destructor Documentation

◆ __init__()

Gaudi.Main.BootstrapHelper.AppMgr.__init__ ( self,
ptr,
lib )

Definition at line 51 of file Main.py.

51 def __init__(self, ptr, lib):
52 self.ptr = ptr
53 self.lib = lib
54 self._as_parameter_ = ptr
55

Member Function Documentation

◆ configure()

Gaudi.Main.BootstrapHelper.AppMgr.configure ( self)

Definition at line 56 of file Main.py.

56 def configure(self):
57 return BootstrapHelper.StatusCode(
58 self.lib.py_bootstrap_fsm_configure(self.ptr)
59 )
60

◆ finalize()

Gaudi.Main.BootstrapHelper.AppMgr.finalize ( self)

Definition at line 77 of file Main.py.

77 def finalize(self):
78 return BootstrapHelper.StatusCode(
79 self.lib.py_bootstrap_fsm_finalize(self.ptr)
80 )
81

◆ getProperty()

Gaudi.Main.BootstrapHelper.AppMgr.getProperty ( self,
name )

Definition at line 97 of file Main.py.

97 def getProperty(self, name):
98 return BootstrapHelper.Property(
99 self.lib.py_bootstrap_getProperty(self.ptr, name.encode("ascii"))
100 )
101
const char *PyHelper getProperty(IInterface *p, char *name)

◆ getService()

Gaudi.Main.BootstrapHelper.AppMgr.getService ( self,
name )

Definition at line 87 of file Main.py.

87 def getService(self, name):
88 return self.lib.py_bootstrap_getService(self.ptr, name.encode("ascii"))
89
IInterface *PyHelper getService(IInterface *app, char *name)

◆ initialize()

Gaudi.Main.BootstrapHelper.AppMgr.initialize ( self)

Definition at line 61 of file Main.py.

61 def initialize(self):
62 return BootstrapHelper.StatusCode(
63 self.lib.py_bootstrap_fsm_initialize(self.ptr)
64 )
65

◆ printAlgsSequences()

Gaudi.Main.BootstrapHelper.AppMgr.printAlgsSequences ( self)

Definition at line 102 of file Main.py.

102 def printAlgsSequences(self):
103 return self.lib.py_helper_printAlgsSequences(self.ptr)
104
void py_helper_printAlgsSequences(IInterface *app)
Helper to call printAlgsSequences from Pyhton ctypes.

◆ run()

Gaudi.Main.BootstrapHelper.AppMgr.run ( self,
nevt )

Definition at line 69 of file Main.py.

69 def run(self, nevt):
70 return BootstrapHelper.StatusCode(
71 self.lib.py_bootstrap_app_run(self.ptr, nevt)
72 )
73
bool py_bootstrap_app_run(IInterface *i, int maxevt)

◆ setOption()

Gaudi.Main.BootstrapHelper.AppMgr.setOption ( self,
key,
value )

Definition at line 105 of file Main.py.

105 def setOption(self, key, value):
106 self.lib.py_bootstrap_setOption(
107 self.ptr, key.encode("ascii"), value.encode("ascii")
108 )
109
110 def __init__(self):
void PyHelper setOption(IInterface *app, char *key, char *value)

◆ setProperty()

Gaudi.Main.BootstrapHelper.AppMgr.setProperty ( self,
name,
value )

Definition at line 90 of file Main.py.

90 def setProperty(self, name, value):
91 return BootstrapHelper.StatusCode(
92 self.lib.py_bootstrap_setProperty(
93 self.ptr, name.encode("ascii"), value.encode("ascii")
94 )
95 )
96
bool PyHelper setProperty(IInterface *p, char *name, char *value)

◆ start()

Gaudi.Main.BootstrapHelper.AppMgr.start ( self)

Definition at line 66 of file Main.py.

66 def start(self):
67 return BootstrapHelper.StatusCode(self.lib.py_bootstrap_fsm_start(self.ptr))
68

◆ stop()

Gaudi.Main.BootstrapHelper.AppMgr.stop ( self)

Definition at line 74 of file Main.py.

74 def stop(self):
75 return BootstrapHelper.StatusCode(self.lib.py_bootstrap_fsm_stop(self.ptr))
76

◆ terminate()

Gaudi.Main.BootstrapHelper.AppMgr.terminate ( self)

Definition at line 82 of file Main.py.

82 def terminate(self):
83 return BootstrapHelper.StatusCode(
84 self.lib.py_bootstrap_fsm_terminate(self.ptr)
85 )
86

Member Data Documentation

◆ _as_parameter_

Gaudi.Main.BootstrapHelper.AppMgr._as_parameter_ = ptr
protected

Definition at line 54 of file Main.py.

◆ lib

Gaudi.Main.BootstrapHelper.AppMgr.lib = lib

Definition at line 53 of file Main.py.

◆ ptr

Gaudi.Main.BootstrapHelper.AppMgr.ptr = ptr

Definition at line 52 of file Main.py.


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