This class handles terminal window as a document.
More...
#include <CDocumentController.h>
|
| void | close () |
| | Closes the terminal window.
|
| | CTerminalDocController (std::shared_ptr< ConnectionMgr > connectionMgr) |
| | Opens a terminal window.
|
| void | reset () |
| | Clears history buffer.
|
| void | saveAs (const std::string &fileName) |
| | Saves contents of the terminal window to file.
|
| void | start () |
| | Starts communication in the terminal window.
|
| void | stop () |
| | Stops communication in the terminal window.
|
This class handles terminal window as a document.
◆ CTerminalDocController()
| isys::CTerminalDocController::CTerminalDocController |
( |
std::shared_ptr< ConnectionMgr > | connectionMgr | ) |
|
Opens a terminal window.
- Parameters
-
| connectionMgr | class which maintains connection to winIDEA. Connection must be established before this call. |
- Exceptions
-
| IOException | in case of an error. |
◆ close()
| void isys::CTerminalDocController::close |
( |
| ) |
|
Closes the terminal window.
- Exceptions
-
| IOException | in case of an error. |
◆ reset()
| void isys::CTerminalDocController::reset |
( |
| ) |
|
Clears history buffer.
- Exceptions
-
| IOException | in case of an error. |
◆ saveAs()
| void isys::CTerminalDocController::saveAs |
( |
const std::string & | fileName | ) |
|
Saves contents of the terminal window to file.
- Parameters
-
| fileName | name of the destination file |
- Exceptions
-
| IOException | in case of an error. |
◆ start()
| void isys::CTerminalDocController::start |
( |
| ) |
|
Starts communication in the terminal window.
- Exceptions
-
| IOException | in case of an error. |
◆ stop()
| void isys::CTerminalDocController::stop |
( |
| ) |
|
Stops communication in the terminal window.
- Exceptions
-
| IOException | in case of an error. |