The Gaudi Framework
v25r3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CallbackStreamBuf.h
Go to the documentation of this file.
1
#ifndef GAUDIPYTHON_CALLBACKSTREAMBUF_H
2
#define GAUDIPYTHON_CALLBACKSTREAMBUF_H
3
// ============================================================================
4
#include "Python.h"
//included for the python API
5
// ============================================================================
6
#include <sstream>
//included for stringbuf
7
// ============================================================================
8
#include "
GaudiPython/GaudiPython.h
"
9
// ============================================================================
10
11
namespace
GaudiPython
12
{
13
int
GAUDI_API
call_python_method
(PyObject*
self
,
const
char
* method,
char
* buf);
14
15
class
GAUDI_API
CallbackStreamBuf
:
public
std::stringbuf
16
{
17
private
:
18
PyObject*
m_self
;
19
char
*
m_callbackBuff
;
20
21
public
:
22
CallbackStreamBuf
(PyObject*
self
);
23
~
CallbackStreamBuf
();
24
virtual
int
sync() ;
25
};
//CallbackStreamBuf
26
27
}
//namespace GaudiPython
28
29
#endif
GaudiPython::CallbackStreamBuf::m_callbackBuff
char * m_callbackBuff
Definition:
CallbackStreamBuf.h:19
GaudiPython.h
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:108
GaudiPython::CallbackStreamBuf
Definition:
CallbackStreamBuf.h:15
GaudiPython::CallbackStreamBuf::m_self
PyObject * m_self
Definition:
CallbackStreamBuf.h:18
GaudiPython::call_python_method
GAUDI_API StatusCode call_python_method(PyObject *self, const char *method)
call the python method
Definition:
Algorithm.cpp:30
GaudiPython
GaudiPython
CallbackStreamBuf.h
Generated on Wed Jul 9 2014 09:54:15 for The Gaudi Framework by
1.8.7