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.

Definition at line 32 of file export_Canvas.cxx.

Referenced by exportToPython().

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.

Definition at line 31 of file export_CanvasWindow.cxx.

Referenced by exportToPython().

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

Definition at line 37 of file export_CircularBuffer.cxx.

Referenced by exportToPython().

void export_Color ( )

Exports to Python the Color class and its enumerations.

Definition at line 37 of file export_Color.cxx.

Referenced by exportToPython().

void export_CutController ( )

Exports CutContoller class to Python.

Definition at line 39 of file export_CutController.cxx.

Referenced by exportToPython().

void export_DataArray ( )

Export PyDataSourceWrapper.

Definition at line 148 of file PyDataSource.cxx.

References PyDataSourceExceptionTranslator().

Referenced by exportToPython().

void export_DataRep ( )

Exports the PyDataRep class to Python.

Definition at line 47 of file PyDataRep.cxx.

Referenced by exportToPython().

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.

Definition at line 38 of file export_DataSource.cxx.

Referenced by exportToPython().

void export_Factory_PointRep ( )

Exports the template base class of PointRepFactory.

Definition at line 40 of file export_PointRepFactory.cxx.

Referenced by exportToPython().

void export_FCNBase ( )

Export the base class of objective functions.

Definition at line 41 of file export_FCNBase.cxx.

Referenced by exportToPython().

void export_FitsController ( )

Exports the FitsController.

Definition at line 40 of file export_FitsController.cxx.

Referenced by exportToPython().

void export_FitsNTuple ( )

Exports the FitsNTuple.

Definition at line 38 of file export_FitsNTuple.cxx.

Referenced by exportToPython().

void export_Fitter ( )

Exports the Fitter class to Python.

Definition at line 40 of file export_Fitter.cxx.

Referenced by exportToPython().

void export_FitterFactory ( )

Exports the FitterFactory.

Definition at line 39 of file export_FitterFactory.cxx.

Referenced by exportToPython().

void export_Function ( )

Exports the PyFunctionRep class to Python.

Definition at line 39 of file PyFunctionRep.cxx.

Referenced by exportToPython().

void export_FunctionBase ( )

Export the FunctionBase and its FunctionWrap.

Definition at line 34 of file FunctionWrap.cxx.

Referenced by exportToPython().

void export_FunctionFactory ( )

Exports the FitterFactory.

Definition at line 39 of file export_FunctionFactory.cxx.

Referenced by exportToPython().

void export_HDApp ( )

Exports the PyApp class to Python.

Definition at line 51 of file PyApp.cxx.

Referenced by exportToPython().

void export_LineStyle ( )
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.

Definition at line 37 of file export_ListTuple.cxx.

Referenced by exportToPython().

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.

Definition at line 39 of file export_NTuple.cxx.

Referenced by exportToPython().

void export_NTupleController ( )

Exports the NTupleController class to Python.

Requests:
Provide interface to DataSourceController.

Definition at line 41 of file export_NTupleController.cxx.

Referenced by exportToPython().

void export_NTupleFCN ( )

Exports the base class of data source objective functions.

Definition at line 42 of file export_NTupleFCN.cxx.

Referenced by exportToPython().

void export_NumArrayTuple ( )

Exports the NumArrayTuple class to Python.

Definition at line 46 of file export_NumArrayTuple.cxx.

Referenced by exportToPython().

void export_Observer ( )

Exports the Observer class to Python.

Definition at line 34 of file ObserverWrap.cxx.

Referenced by exportToPython().

void export_PointRepFactory ( )

Exports the PointRepFactory class to Python.

Definition at line 54 of file export_PointRepFactory.cxx.

Referenced by exportToPython().

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.

Definition at line 102 of file export_NTuple.cxx.

Referenced by exportToPython().

void export_QtCut ( )

Exports the QtCut class to Python.

Definition at line 37 of file export_QtCut.cxx.

Referenced by exportToPython().

void export_QtDisplay ( )

Exports the QtDisplay class to Python.

Definition at line 73 of file QtDisplay.cxx.

Referenced by exportToPython().

void export_RepBase ( )

Exports the RepBase class to Python.

Definition at line 40 of file export_RepBase.cxx.

Referenced by exportToPython().

void export_RootController ( )

Exports the RootController.

Definition at line 42 of file export_RootController.cxx.

Referenced by exportToPython().

void export_RootNTuple ( )

Exports the RootNTuple.

Definition at line 42 of file export_RootNTuple.cxx.

Referenced by exportToPython().

void export_StatedFCN ( )

Export the base class of stated objective functions.

Bug:
@@@ Can export objective value but not degrees of freedom.

Definition at line 46 of file export_StatedFCN.cxx.

Referenced by exportToPython().

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

Definition at line 143 of file PyDataSource.cxx.

References PyDataSource::StopIteration::what().

Referenced by export_DataArray().

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.

Referenced by exportToPython().


Generated for HippoDraw Class Library by doxygen