winIDEA SDK
|
This class handles terminal window as a document.
#include <CDocumentController.h>
Public Member Functions | |
void | close () |
Closes the terminal window. More... | |
CTerminalDocController (std::shared_ptr< ConnectionMgr > connectionMgr) | |
Opens a terminal window. More... | |
void | reset () |
Clears history buffer. More... | |
void | saveAs (const std::string &fileName) |
Saves contents of the terminal window to file. More... | |
void | start () |
Starts communication in the terminal window. More... | |
void | stop () |
Stops communication in the terminal window. More... | |
Private Member Functions | |
void | reset (IConnectIDE::EDocumentResetParameter resetScope) |
Resets contents of the document. More... | |
void | saveAs (const std::string &fileName, bool isForceOverwrite=false) |
Saves the document with a new name. More... | |
isys::CTerminalDocController::CTerminalDocController | ( | std::shared_ptr< ConnectionMgr > | connectionMgr | ) |
Opens a terminal window.
connectionMgr | class which maintains connection to winIDEA. Connection must be established before this call. |
IOException | in case of an error. |
void isys::CTerminalDocController::close | ( | ) |
Closes the terminal window.
IOException | in case of an error. |
void isys::CTerminalDocController::reset | ( | ) |
Clears history buffer.
IOException | in case of an error. |
void isys::CTerminalDocController::saveAs | ( | const std::string & | fileName | ) |
Saves contents of the terminal window to file.
fileName | name of the destination file |
IOException | in case of an error. |
void isys::CTerminalDocController::start | ( | ) |
Starts communication in the terminal window.
IOException | in case of an error. |
void isys::CTerminalDocController::stop | ( | ) |
Stops communication in the terminal window.
IOException | in case of an error. |