Logo ROOT   6.10/09
Reference Guide
Macros | Functions | Variables
IOHandler.cxx File Reference
#include <unistd.h>
#include <fcntl.h>
#include <string>
#include <iostream>
#include "TInterpreter.h"
Include dependency graph for IOHandler.cxx:

Macros

#define F_LINUX_SPECIFIC_BASE   1024
 
#define F_SETPIPE_SZ   (F_LINUX_SPECIFIC_BASE + 7)
 

Functions

static void InitCaptureImpl (int &savedStdStream, int *pipeHandle, int FILENO)
 
int JupyROOTDeclarer (const char *code)
 
bool JupyROOTDeclarerImpl (const char *code)
 
int JupyROOTExecutor (const char *code)
 
void JupyROOTExecutorHandler_Clear ()
 
void JupyROOTExecutorHandler_Ctor ()
 
void JupyROOTExecutorHandler_Dtor ()
 
void JupyROOTExecutorHandler_EndCapture ()
 
const char * JupyROOTExecutorHandler_GetStderr ()
 
const char * JupyROOTExecutorHandler_GetStdout ()
 
void JupyROOTExecutorHandler_InitCapture ()
 
void JupyROOTExecutorHandler_Poll ()
 
bool JupyROOTExecutorImpl (const char *code)
 
static void PollImpl (FILE *stdStream, int *pipeHandle, std::string &pipeContent)
 

Variables

JupyROOTExecutorHandler * JupyROOTExecutorHandler_ptr = nullptr
 
constexpr long MAX_PIPE_SIZE = 1048575
 

Macro Definition Documentation

◆ F_LINUX_SPECIFIC_BASE

#define F_LINUX_SPECIFIC_BASE   1024

Definition at line 33 of file IOHandler.cxx.

◆ F_SETPIPE_SZ

#define F_SETPIPE_SZ   (F_LINUX_SPECIFIC_BASE + 7)

Definition at line 36 of file IOHandler.cxx.

Function Documentation

◆ InitCaptureImpl()

static void InitCaptureImpl ( int &  savedStdStream,
int *  pipeHandle,
int  FILENO 
)
static

Definition at line 63 of file IOHandler.cxx.

◆ JupyROOTDeclarer()

int JupyROOTDeclarer ( const char *  code)

Definition at line 155 of file IOHandler.cxx.

◆ JupyROOTDeclarerImpl()

bool JupyROOTDeclarerImpl ( const char *  code)

Definition at line 136 of file IOHandler.cxx.

◆ JupyROOTExecutor()

int JupyROOTExecutor ( const char *  code)

Definition at line 151 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Clear()

void JupyROOTExecutorHandler_Clear ( )

Definition at line 160 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Ctor()

void JupyROOTExecutorHandler_Ctor ( )

Definition at line 165 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Dtor()

void JupyROOTExecutorHandler_Dtor ( )

Definition at line 199 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_EndCapture()

void JupyROOTExecutorHandler_EndCapture ( )

Definition at line 179 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_GetStderr()

const char* JupyROOTExecutorHandler_GetStderr ( )

Definition at line 194 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_GetStdout()

const char* JupyROOTExecutorHandler_GetStdout ( )

Definition at line 189 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_InitCapture()

void JupyROOTExecutorHandler_InitCapture ( )

Definition at line 184 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Poll()

void JupyROOTExecutorHandler_Poll ( )

Definition at line 174 of file IOHandler.cxx.

◆ JupyROOTExecutorImpl()

bool JupyROOTExecutorImpl ( const char *  code)

Definition at line 116 of file IOHandler.cxx.

◆ PollImpl()

static void PollImpl ( FILE *  stdStream,
int *  pipeHandle,
std::string &  pipeContent 
)
static

Definition at line 44 of file IOHandler.cxx.

Variable Documentation

◆ JupyROOTExecutorHandler_ptr

JupyROOTExecutorHandler* JupyROOTExecutorHandler_ptr = nullptr

Definition at line 113 of file IOHandler.cxx.

◆ MAX_PIPE_SIZE

constexpr long MAX_PIPE_SIZE = 1048575

Definition at line 39 of file IOHandler.cxx.