The Gaudi Framework  v37r0 (b608885e)
GaudiPython.Bindings.CallbackStreamBuf Class Reference
Inheritance diagram for GaudiPython.Bindings.CallbackStreamBuf:
Collaboration diagram for GaudiPython.Bindings.CallbackStreamBuf:

Public Member Functions

def __init__ (self, callback)
 

Public Attributes

 callback
 

Private Member Functions

def _sync (self, string=None)
 

Detailed Description

Definition at line 1414 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiPython.Bindings.CallbackStreamBuf.__init__ (   self,
  callback 
)

Definition at line 1415 of file Bindings.py.

1415  def __init__(self, callback):
1416  _CallbackStreamBufBase.__init__(self, self)
1417  self.callback = callback
1418 

Member Function Documentation

◆ _sync()

def GaudiPython.Bindings.CallbackStreamBuf._sync (   self,
  string = None 
)
private

Definition at line 1419 of file Bindings.py.

1419  def _sync(self, string=None):
1420  if not string:
1421  return 0
1422  self.callback(string)
1423  return 0
1424 
1425 
1426 # ----PyAlgorithm--------------------------------------------------------------
1427 # Used to implement Algorithms in Python

Member Data Documentation

◆ callback

GaudiPython.Bindings.CallbackStreamBuf.callback

Definition at line 1417 of file Bindings.py.


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