Logo ROOT  
Reference Guide
IOHandler.cxx File Reference
#include <fcntl.h>
#include <unistd.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 46 of file IOHandler.cxx.

◆ F_SETPIPE_SZ

#define F_SETPIPE_SZ   (F_LINUX_SPECIFIC_BASE + 7)

Definition at line 49 of file IOHandler.cxx.

Function Documentation

◆ InitCaptureImpl()

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

Definition at line 76 of file IOHandler.cxx.

◆ JupyROOTDeclarer()

int JupyROOTDeclarer ( const char *  code)

Definition at line 173 of file IOHandler.cxx.

◆ JupyROOTDeclarerImpl()

bool JupyROOTDeclarerImpl ( const char *  code)

Definition at line 154 of file IOHandler.cxx.

◆ JupyROOTExecutor()

int JupyROOTExecutor ( const char *  code)

Definition at line 169 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Clear()

void JupyROOTExecutorHandler_Clear ( )

Definition at line 178 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Ctor()

void JupyROOTExecutorHandler_Ctor ( )

Definition at line 183 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Dtor()

void JupyROOTExecutorHandler_Dtor ( )

Definition at line 217 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_EndCapture()

void JupyROOTExecutorHandler_EndCapture ( )

Definition at line 197 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_GetStderr()

const char * JupyROOTExecutorHandler_GetStderr ( )

Definition at line 212 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_GetStdout()

const char * JupyROOTExecutorHandler_GetStdout ( )

Definition at line 207 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_InitCapture()

void JupyROOTExecutorHandler_InitCapture ( )

Definition at line 202 of file IOHandler.cxx.

◆ JupyROOTExecutorHandler_Poll()

void JupyROOTExecutorHandler_Poll ( )

Definition at line 192 of file IOHandler.cxx.

◆ JupyROOTExecutorImpl()

bool JupyROOTExecutorImpl ( const char *  code)

Definition at line 134 of file IOHandler.cxx.

◆ PollImpl()

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

Definition at line 57 of file IOHandler.cxx.

Variable Documentation

◆ JupyROOTExecutorHandler_ptr

JupyROOTExecutorHandler* JupyROOTExecutorHandler_ptr = nullptr

Definition at line 131 of file IOHandler.cxx.

◆ MAX_PIPE_SIZE

constexpr long MAX_PIPE_SIZE = 1048575
constexpr

Definition at line 52 of file IOHandler.cxx.