Beispiel #1
0
 def __init__(self, dllname, classname, gadgetname=None, next_gadget=None):
     if gadgetname == None:
         gadgetname = classname
     Gadget.__init__(self, next_gadget)
     self.controller_ = GadgetronPythonMRI.GadgetInstrumentationStreamController(
     )
     self.controller_.prepend_gadget(gadgetname, dllname, classname)
     self.controller_.set_python_gadget(self)
     self.wrapped_gadgets = list()
     self.wrapped_gadgets.append(
         WrappedGadget(dllname, classname, gadgetname))
Beispiel #2
0
def gadget_config(first_gadget, conf):
    g = first_gadget
    while (g):
        g.process_config(conf)
        g = g.next_gadget
def gadget_config(first_gadget, conf):
    g = first_gadget;
    while (g):
        g.process_config(conf)
        g = g.next_gadget
Beispiel #4
0
def gadget_wait_function(first_gadget):
    g = first_gadget
    while (g):
        g.wait()
        g = g.next_gadget
def gadget_wait_function(first_gadget):
    g = first_gadget;
    while (g):
        g.wait()
        g = g.next_gadget