Chombo + EB  3.2
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
VisItPythonConnection Class Reference

#include <VisItPythonConnection.H>

Public Member Functions

 VisItPythonConnection ()
 
 ~VisItPythonConnection ()
 
bool Open (std::vector< std::string > extraargs=std::vector< std::string >())
 
bool Close ()
 
bool SendCommand (const char *buff)
 
bool IsOpen ()
 
std::string GetLastError ()
 

Protected Member Functions

bool WriteString (const char *buff)
 
bool WaitForPrompt ()
 

Private Attributes

int to_cli
 
int from_cli
 
int readbufferlen
 
char * readbuffer
 
pid_t visitpid
 
std::string error
 

Constructor & Destructor Documentation

◆ VisItPythonConnection()

VisItPythonConnection::VisItPythonConnection ( )

◆ ~VisItPythonConnection()

VisItPythonConnection::~VisItPythonConnection ( )

Member Function Documentation

◆ Open()

bool VisItPythonConnection::Open ( std::vector< std::string >  extraargs = std::vector< std::string >())

◆ Close()

bool VisItPythonConnection::Close ( )

◆ SendCommand()

bool VisItPythonConnection::SendCommand ( const char *  buff)

◆ IsOpen()

bool VisItPythonConnection::IsOpen ( )

◆ GetLastError()

std::string VisItPythonConnection::GetLastError ( )

◆ WriteString()

bool VisItPythonConnection::WriteString ( const char *  buff)
protected

◆ WaitForPrompt()

bool VisItPythonConnection::WaitForPrompt ( )
protected

Member Data Documentation

◆ to_cli

int VisItPythonConnection::to_cli
private

◆ from_cli

int VisItPythonConnection::from_cli
private

◆ readbufferlen

int VisItPythonConnection::readbufferlen
private

◆ readbuffer

char* VisItPythonConnection::readbuffer
private

◆ visitpid

pid_t VisItPythonConnection::visitpid
private

◆ error

std::string VisItPythonConnection::error
private

The documentation for this class was generated from the following file: