RInside Version 0.2.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RInsideCallbacks Class Reference

#include <rinside_callbacks.h>

Inheritance diagram for RInsideCallbacks:
Collaboration diagram for RInsideCallbacks:

Public Member Functions

virtual std::string ReadConsole (const char *prompt, bool addtohistory)
 
virtual void WriteConsole (const std::string &line, int type)
 
virtual void FlushConsole ()
 
virtual void ResetConsole ()
 
virtual void CleanerrConsole ()
 
virtual void Busy (bool)
 
virtual void ShowMessage (const char *message)
 
virtual void Suicide (const char *message)
 
virtual bool has_ReadConsole ()
 
virtual bool has_WriteConsole ()
 
virtual bool has_FlushConsole ()
 
virtual bool has_ResetConsole ()
 
virtual bool has_CleanerrConsole ()
 
virtual bool has_Busy ()
 
virtual bool has_ShowMessage ()
 
virtual bool has_Suicide ()
 
void resetConsoleOutput ()
 
std::string getConsoleOutput ()
 

Private Attributes

std::ostringstream output_buffer
 

Detailed Description

Definition at line 1 of file rinside_callbacks.h.

Member Function Documentation

virtual void RInsideCallbacks::Busy ( bool  )
inlinevirtual

Definition at line 22 of file rinside_callbacks.h.

virtual void RInsideCallbacks::CleanerrConsole ( )
inlinevirtual

Definition at line 19 of file rinside_callbacks.h.

virtual void RInsideCallbacks::FlushConsole ( )
inlinevirtual

Definition at line 13 of file rinside_callbacks.h.

std::string RInsideCallbacks::getConsoleOutput ( )
inline

Definition at line 49 of file rinside_callbacks.h.

References output_buffer.

Referenced by main(), and RInsideServer::run().

virtual bool RInsideCallbacks::has_Busy ( )
inlinevirtual

Definition at line 40 of file rinside_callbacks.h.

virtual bool RInsideCallbacks::has_CleanerrConsole ( )
inlinevirtual

Definition at line 39 of file rinside_callbacks.h.

virtual bool RInsideCallbacks::has_FlushConsole ( )
inlinevirtual

Definition at line 37 of file rinside_callbacks.h.

virtual bool RInsideCallbacks::has_ReadConsole ( )
inlinevirtual

Definition at line 35 of file rinside_callbacks.h.

virtual bool RInsideCallbacks::has_ResetConsole ( )
inlinevirtual

Definition at line 38 of file rinside_callbacks.h.

virtual bool RInsideCallbacks::has_ShowMessage ( )
inlinevirtual

Definition at line 41 of file rinside_callbacks.h.

virtual bool RInsideCallbacks::has_Suicide ( )
inlinevirtual

Definition at line 42 of file rinside_callbacks.h.

virtual bool RInsideCallbacks::has_WriteConsole ( )
inlinevirtual

Definition at line 36 of file rinside_callbacks.h.

virtual std::string RInsideCallbacks::ReadConsole ( const char *  prompt,
bool  addtohistory 
)
inlinevirtual

Definition at line 4 of file rinside_callbacks.h.

virtual void RInsideCallbacks::ResetConsole ( )
inlinevirtual

Definition at line 16 of file rinside_callbacks.h.

void RInsideCallbacks::resetConsoleOutput ( )
inline

Definition at line 44 of file rinside_callbacks.h.

References output_buffer.

Referenced by main(), and RInsideServer::run().

virtual void RInsideCallbacks::ShowMessage ( const char *  message)
inlinevirtual

Definition at line 25 of file rinside_callbacks.h.

virtual void RInsideCallbacks::Suicide ( const char *  message)
inlinevirtual

Definition at line 29 of file rinside_callbacks.h.

References LOG.

virtual void RInsideCallbacks::WriteConsole ( const std::string &  line,
int  type 
)
inlinevirtual

Definition at line 8 of file rinside_callbacks.h.

References output_buffer.

Member Data Documentation

std::ostringstream RInsideCallbacks::output_buffer
private

Definition at line 53 of file rinside_callbacks.h.

Referenced by getConsoleOutput(), resetConsoleOutput(), and WriteConsole().


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