|
Opensim Control Panel BRIGADOON-0013
This program provides a control panel for an Open Simulator Instance
|
#include <dirclass.h>
Public Slots | |
| void | ListInputDirectory (void) |
Signals | |
| void | SendInputTable (QList< DIR_INFO > file_list) |
| void | SendRegionLocation (REMOTE_REGION_ADDRESS region_address) |
| void | SendLogEntry (REMOTE_LOG_ENTRY LogEntry) |
| Send Log Entry via the Signal-Slot Method. | |
Public Member Functions | |
| DirClass (QObject *parent=nullptr) | |
| void | SetInputTable (QTableWidget *InputTable) |
| void | SetOutputTable (QTableWidget *OutputTable) |
| bool | LoadInputTable (QString InputDirectory) |
| bool | LoadOutputTable (QString OutputDirectory) |
| void | SetInputDirectory (QString DirectoryString) |
Private Member Functions | |
| bool | AddInputFiles (QString FileName) |
| bool | AddOutputFiles (QString FileName) |
| QStringList | SplitFilename (QString file_name) |
| QList< DIR_INFO > | ProcessInputFilenames (QString InputDirectory) |
| void | DisplayInputTable (QList< DIR_INFO > InputTableList) |
| void | LogAdd (LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message) |
| Send Message to the Log. | |
Private Attributes | |
| QTableWidget * | input_table |
| QTableWidget * | output_table |
| QString | input_directory |
| QList< DIR_INFO > | input_list |
| QList< DIR_INFO > | output_list |
Definition at line 54 of file dirclass.h.
|
explicit |
Definition at line 7 of file dirclass.cpp.
|
private |
Definition at line 74 of file dirclass.cpp.
|
private |
Definition at line 80 of file dirclass.cpp.
|
private |
Definition at line 155 of file dirclass.cpp.
References INPUT_DONE_COLUMN, INPUT_NAME_COLUMN, INPUT_SELECT_COLUMN, input_table, REMOTE_REGION_ADDRESS::RegionXLocation, REMOTE_REGION_ADDRESS::RegionYLocation, and SendRegionLocation().
Referenced by LoadInputTable().
|
slot |
Definition at line 41 of file dirclass.cpp.
References input_directory, and LoadInputTable().
| bool DirClass::LoadInputTable | ( | QString | InputDirectory | ) |
Definition at line 46 of file dirclass.cpp.
References DisplayInputTable(), and ProcessInputFilenames().
Referenced by ListInputDirectory().
| bool DirClass::LoadOutputTable | ( | QString | OutputDirectory | ) |
Definition at line 66 of file dirclass.cpp.
|
private |
Send Message to the Log.
| Severity | Severity of the Log Message |
| Mode | Which part of the program does the message relate to |
| Message | Text message to be added to the Log |
Definition at line 145 of file dirclass.cpp.
References REMOTE_LOG_ENTRY::Message, REMOTE_LOG_ENTRY::Mode, SendLogEntry(), and REMOTE_LOG_ENTRY::Severity.
Referenced by ProcessInputFilenames().
|
private |
Definition at line 86 of file dirclass.cpp.
References DIR_INFO::doProcessing, DIR_INFO::file_size, DIR_INFO::FileName, LOG_DEBUG, LogAdd(), MODE_FILE, DIR_INFO::RegionName, DIR_INFO::x_position, and DIR_INFO::y_position.
Referenced by LoadInputTable().
|
signal |
|
signal |
Send Log Entry via the Signal-Slot Method.
| LogEntry | Structure holding the Log Entry parameters |
Referenced by LogAdd().
|
signal |
| void DirClass::SetInputDirectory | ( | QString | DirectoryString | ) |
Definition at line 13 of file dirclass.cpp.
References input_directory.
| void DirClass::SetInputTable | ( | QTableWidget * | InputTable | ) |
Definition at line 18 of file dirclass.cpp.
References INPUT_DONE_COLUMN, INPUT_DONE_WIDTH, INPUT_NAME_COLUMN, INPUT_NAME_WIDTH, INPUT_SELECT_COLUMN, INPUT_SELECT_WIDTH, input_table, and INPUT_TABLE_COLUMN_COUNT.
| void DirClass::SetOutputTable | ( | QTableWidget * | OutputTable | ) |
Definition at line 29 of file dirclass.cpp.
References INPUT_TABLE_COLUMN_COUNT, OUTPUT_DONE_COLUMN, OUTPUT_DONE_WIDTH, OUTPUT_NAME_COLUMN, OUTPUT_NAME_WIDTH, OUTPUT_SELECT_COLUMN, OUTPUT_SELECT_WIDTH, output_table, and OUTPUT_TABLE_COLUMN_COUNT.
|
private |
|
private |
Definition at line 72 of file dirclass.h.
Referenced by ListInputDirectory(), and SetInputDirectory().
|
private |
Definition at line 74 of file dirclass.h.
|
private |
Definition at line 69 of file dirclass.h.
Referenced by DisplayInputTable(), and SetInputTable().
|
private |
Definition at line 75 of file dirclass.h.
|
private |
Definition at line 70 of file dirclass.h.
Referenced by SetOutputTable().