Functions

hippodraw::Python Namespace Reference

A namespace encapsulating functions to interface HippoDraw classes to Python using Boost.Python. More...

Functions

void export_Canvas ()
 Exports the PyCanvas class to Python.
void export_CanvasWindow ()
 Exports the CanvasWindow class to Python.
void export_CircularBuffer ()
 Exports the CircularBuffer class to Python.
void export_Color ()
 Exports to Python the Color class and its enumerations.
void export_CutController ()
 Exports CutContoller class to Python.
void export_DataArray ()
 Export PyDataSourceWrapper.
void export_DataRep ()
 Exports the PyDataRep class to Python.
void export_DataSource ()
 Exports the DataSource class to Python.
void export_Factory_PointRep ()
 Exports the template base class of PointRepFactory.
void export_FCNBase ()
 Export the base class of objective functions.
void export_FitsController ()
 Exports the FitsController.
void export_FitsNTuple ()
 Exports the FitsNTuple.
void export_Fitter ()
 Exports the Fitter class to Python.
void export_FitterFactory ()
 Exports the FitterFactory.
void export_Function ()
 Exports the PyFunctionRep class to Python.
void export_FunctionBase ()
 Export the FunctionBase and its FunctionWrap.
void export_FunctionFactory ()
 Exports the FitterFactory.
void export_HDApp ()
 Exports the PyApp class to Python.
void export_LineStyle ()
 Export hippodraw::LineStyle enumeration.
void export_ListTuple ()
 Exports the ListTuple class to Python.
void export_NTuple ()
 Exports the NTuple class to Python.
void export_NTupleController ()
 Exports the NTupleController class to Python.
void export_NTupleFCN ()
 Exports the base class of data source objective functions.
void export_NumArrayTuple ()
 Exports the NumArrayTuple class to Python.
void export_Observer ()
 Exports the Observer class to Python.
void export_PointRepFactory ()
 Exports the PointRepFactory class to Python.
void export_PyNTuple ()
 Exports the PyNTuple class to Python.
void export_QtCut ()
 Exports the QtCut class to Python.
void export_QtDisplay ()
 Exports the QtDisplay class to Python.
void export_RepBase ()
 Exports the RepBase class to Python.
void export_RootController ()
 Exports the RootController.
void export_RootNTuple ()
 Exports the RootNTuple.
void export_StatedFCN ()
 Export the base class of stated objective functions.
void export_SymbolType ()
 Export hippodraw::Symbo::lType enum.
void exportToPython ()
 Exports HippoDraw C++ classes to Python.
void PyDataSourceExceptionTranslator (const PyDataSource::StopIteration &e)
void translate (const std::exception &e)
 Translate a C++ exception to a Python one.

Detailed Description

A namespace encapsulating functions to interface HippoDraw classes to Python using Boost.Python.

For the list of C++ member functions that are exported, see which functions are referenced by the functions declared in this name space.

Requests:
On Mac OS X, get lots of warning messages about use of long double, must have a gcc flag to fix that.
Requests:
Write m4 macro to allow user to fix path to Python includes and lib.
Requests:
Consider using ax_boost_python.m4 from autoconf macro archive.
Requests:
Consider other Python finding m4 macros from the autoconf macro archive.
Author:
Paul F. Kunz <Paul_Kunz@slac.stanford.edu>
Matthew Langston <langston@slac.stanford.edu>

Function Documentation

void export_Canvas (  ) 

Exports the PyCanvas class to Python.

void export_CanvasWindow (  ) 

Exports the CanvasWindow class to Python.

Directly exports CanvasWindow to Python. There is no locking and unlocking of QApplication singleton object, so this object must be instantiated from the same thread as the QApplication object.

void export_CircularBuffer (  ) 

Exports the CircularBuffer class to Python.

Directly exports CircularBuffer to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.

Bug:
@@ Probably needs wrapper for application lock
void export_Color (  ) 

Exports to Python the Color class and its enumerations.

void export_CutController (  ) 

Exports CutContoller class to Python.

void export_DataArray (  ) 

Export PyDataSourceWrapper.

Definition at line 148 of file PyDataSource.cxx.

void export_DataRep (  ) 

Exports the PyDataRep class to Python.

Definition at line 47 of file PyDataRep.cxx.

void export_DataSource (  ) 

Exports the DataSource class to Python.

Directly exports the DataSource class to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.

Requests:
Add getShape(int) function to allow user to get shape of a column.
void export_Factory_PointRep (  ) 

Exports the template base class of PointRepFactory.

void export_FCNBase (  ) 

Export the base class of objective functions.

void export_FitsController (  ) 

Exports the FitsController.

void export_FitsNTuple (  ) 

Exports the FitsNTuple.

void export_Fitter (  ) 

Exports the Fitter class to Python.

void export_FitterFactory (  ) 

Exports the FitterFactory.

void export_Function (  ) 

Exports the PyFunctionRep class to Python.

Definition at line 39 of file PyFunctionRep.cxx.

void export_FunctionBase (  ) 

Export the FunctionBase and its FunctionWrap.

Definition at line 34 of file FunctionWrap.cxx.

void export_FunctionFactory (  ) 

Exports the FitterFactory.

void export_HDApp (  ) 

Exports the PyApp class to Python.

Definition at line 51 of file PyApp.cxx.

void export_LineStyle (  ) 

Export hippodraw::LineStyle enumeration.

void export_ListTuple (  ) 

Exports the ListTuple class to Python.

Directly exports ListTuple to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.

void export_NTuple (  ) 

Exports the NTuple class to Python.

Directly exports NTuple to Python. There is no locking and unlocking of the QApplication singleton object. However, since invoking member functions of this class do not directly change the GUI, they may be invoked from any thread.

void export_NTupleController (  ) 

Exports the NTupleController class to Python.

Requests:
Provide interface to DataSourceController.
void export_NTupleFCN (  ) 

Exports the base class of data source objective functions.

void export_NumArrayTuple (  ) 

Exports the NumArrayTuple class to Python.

void export_Observer (  ) 

Exports the Observer class to Python.

Definition at line 34 of file ObserverWrap.cxx.

void export_PointRepFactory (  ) 

Exports the PointRepFactory class to Python.

void export_PyNTuple (  ) 

Exports the PyNTuple class to Python.

Directly exports PyNTuple to Python. There is locking and unlocking of the QApplication singleton object where needed.

void export_QtCut (  ) 

Exports the QtCut class to Python.

void export_QtDisplay (  ) 

Exports the QtDisplay class to Python.

Definition at line 73 of file QtDisplay.cxx.

void export_RepBase (  ) 

Exports the RepBase class to Python.

void export_RootController (  ) 

Exports the RootController.

void export_RootNTuple (  ) 

Exports the RootNTuple.

void export_StatedFCN (  ) 

Export the base class of stated objective functions.

Bug:
@@@ Can export objective value but not degrees of freedom.
void export_SymbolType (  ) 

Export hippodraw::Symbo::lType enum.

void exportToPython (  ) 

Exports HippoDraw C++ classes to Python.

Call this function from within a BOOST_PYTHON_MODULE definition to incorporate HippoDraw classes within that module.

Author:
Paul F. Kunz <Paul_Kunz@slac.stanford.edu>
Matthew Langston <langston@slac.stanford.edu>
Selim Tuvi <stuvi@slac.stanford.edu>

Referenced by BOOST_PYTHON_MODULE().

void hippodraw::Python::PyDataSourceExceptionTranslator ( const PyDataSource::StopIteration e  ) 

Definition at line 143 of file PyDataSource.cxx.

References PyDataSource::StopIteration::what().

void hippodraw::Python::translate ( const std::exception &  e  ) 

Translate a C++ exception to a Python one.

The exception e must a derived class of std::exception.

Attention:
This function seems to be required by GCC less than verion 3.0.

Definition at line 53 of file exportToPython.cxx.


Generated for HippoDraw Class Library by doxygen