The Gaudi Framework  master (594c33fa)
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 1432 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 1433 of file Bindings.py.

1433  def __init__(self, callback):
1434  _CallbackStreamBufBase.__init__(self, self)
1435  self.callback = callback
1436 

Member Function Documentation

◆ _sync()

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

Definition at line 1437 of file Bindings.py.

1437  def _sync(self, string=None):
1438  if not string:
1439  return 0
1440  self.callback(string)
1441  return 0
1442 
1443 
1444 # ----PyAlgorithm--------------------------------------------------------------
1445 # Used to implement Algorithms in Python

Member Data Documentation

◆ callback

GaudiPython.Bindings.CallbackStreamBuf.callback

Definition at line 1435 of file Bindings.py.


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