|
Aimsun Next Scripting
22
|
Public Member Functions | |
| ANGApp () | |
| ANGApp (const QString newAimsunNextHome) | |
| void | initConsole () |
| void | initGui () |
| void | initConsoleGui () |
| bool | open (const QString &fileName) |
| bool | save (const QString &fileName) |
| void | close () |
| void | quit () |
| void | run () |
| void | processEvents () |
| void | runScript (const QString &scriptFile) const |
| GKModel * | getActiveModel () const |
| GGui * | getGui () const |
| ANGApp::ANGApp | ( | ) |
| ANGApp::ANGApp | ( | const QString | newAimsunNextHome | ) |
| void ANGApp::close | ( | ) |
Closes the current model.
| GKModel * ANGApp::getActiveModel | ( | ) | const |
Returns the current model, if any
| GGui * ANGApp::getGui | ( | ) | const |
Returns the current GUI, if any
| void ANGApp::initConsole | ( | ) |
Inits the application in NON GUI mode
| void ANGApp::initConsoleGui | ( | ) |
Inits the application in NON GUI mode but creates a GUI (not shown) to allow some GUI only operations (mainly save a screenshot using modes(
| void ANGApp::initGui | ( | ) |
Inits the application in GUI mode
| bool ANGApp::open | ( | const QString & | fileName | ) |
Opens a file creating a new model, returns false if the file cannot be read.
| void ANGApp::processEvents | ( | ) |
Process all the current application events (if any) and returns the control to python. In GUI only mode.
| void ANGApp::quit | ( | ) |
Quits the application.
| void ANGApp::run | ( | ) |
Runs the application entering in interactive mode. In GUI only mode.
| void ANGApp::runScript | ( | const QString & | scriptFile | ) | const |
Executes a GUI script stored in a file.
| bool ANGApp::save | ( | const QString & | fileName | ) |
Saves the current model in a file, returns false if the file cannot be saved. The file, if exists, is overwritten.
1.9.4