Logo Search packages:      
Sourcecode: cantor version File versions  Download package

Public Types | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes

OctaveSession Class Reference

Inheritance diagram for OctaveSession:
Inheritance graph
[legend]
Collaboration diagram for OctaveSession:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Status { Running, Done }

Signals

void error (const QString &msg)
void functionsChanged ()
void ready ()
void statusChanged (Cantor::Session::Status newStatus)
void variablesChanged ()

Public Member Functions

Backendbackend ()
virtual Cantor::CompletionObjectcompletionFor (const QString &cmd)
ExpressionevaluateExpression (const QString &command)
virtual Cantor::ExpressionevaluateExpression (const QString &command, Cantor::Expression::FinishingBehavior finishingBehavior)
virtual void interrupt ()
bool isTypesettingEnabled ()
virtual void login ()
virtual void logout ()
int nextExpressionId ()
 OctaveSession (Cantor::Backend *backend)
void runExpression (OctaveExpression *expression)
virtual void setTypesettingEnabled (bool enable)
Cantor::Session::Status status ()
virtual Cantor::SyntaxHelpObjectsyntaxHelpFor (const QString &cmd)
virtual QSyntaxHighlighter * syntaxHighlighter (QTextEdit *parent)
virtual QAbstractItemModel * variableModel ()

Protected Member Functions

void changeStatus (Cantor::Session::Status newStatus)

Private Slots

void currentExpressionStatusChanged (Cantor::Expression::Status status)
void plotFileChanged (QString filename)
void processError ()
void readError ()
void readOutput ()
void runSpecificCommands ()

Private Member Functions

void readFromOctave (QByteArray data)

Private Attributes

QPointer< OctaveExpressionm_currentExpression
QQueue< OctaveExpression * > m_expressionQueue
KProcess * m_process
QRegExp m_prompt
QTextStream m_stream
QString m_tempDir
Cantor::DefaultVariableModelm_variableModel
KDirWatch * m_watch

Detailed Description

Definition at line 39 of file octavesession.h.


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

Generated by  Doxygen 1.6.0   Back to index