#include <blank.h>
|
| Blank (MainWindow *pMainWindow, QString binaryName, QString moduleTitle, QString serverName, int instanceID, int tabID=-1) |
| Constructor.
|
|
| ~Blank () |
| Destructor.
|
|
| Blank (Interface *pInterface) |
| Constructor.
|
|
void | printGPUProperties (int deviceID) |
| Prints properties of a given GPU devices.
|
|
void | printOptions () |
| Prints a list of possible arguments that can be set.
|
|
void | printConfiguration () |
| Prints general configuration.
|
|
void | setGPUMode (bool gpuMode) |
| Sets GPU mode.
|
|
void | setDevice (int deviceID) |
| Sets current GPU device.
|
|
void | setDevices (int deviceID[MAX_GPU_DEVICES]) |
| Sets mulitple GPU devices, enables P2P mode where possible.
|
|
void | setDebuggingLevel (int level) |
| Sets the level of debugging.
|
|
int | getDevice () |
| Gets currently set GPU device.
|
|
int | getNumDevices () |
| Gets the number of detected GPU devices.
|
|
int | getDebuggingLevel () |
| Gets current debug level.
|
|
vector< string > | queryGPU () |
| Returns detected GPU devices as a list of their names.
|
|
| GUI (MainWindow *pMainWindow, QString binaryName, QString moduleTitle, QString serverName, int instanceID, int tabID=-1) |
| Constructor.
|
|
| ~GUI () |
| Destructor.
|
|
|
void | about () |
| Shows message box with the information about module.
|
|
void | updateGUI () |
| Updates graphical user interface.
|
|
virtual void | about () |
| Shows message box with the information about module.
|
|
virtual void | show () |
| Shows menu.
|
|
virtual void | checkFocus (int tabID) |
| Checks if the module tab is currently selected.
|
|
virtual void | statusChanged (int newStatus) |
| Updates module based on the new status.
|
|
virtual void | createMenu () |
| Creates menu.
|
|
virtual void | createFileMenu () |
| Creates file menu.
|
|
virtual void | createEditMenu () |
| Creates edit menu.
|
|
virtual void | createHelpMenu () |
| Creates help menu.
|
|
virtual void | createModuleMenu () |
| Creates module menu.
|
|
virtual void | createDeviceSubmenu () |
| Creates device sub-menu.
|
|
virtual void | updateGUI () |
| Updates graphical user interface.
|
|
virtual void | updateProgressBarClients () |
| Updates progress bar clients.
|
|
virtual void | updateProgressBar (int currentProgress) |
| Updates progress bar with the new value.
|
|
Blank graphical user interface
Blank::Blank |
( |
MainWindow * |
pMainWindow, |
|
|
QString |
binaryName, |
|
|
QString |
moduleTitle, |
|
|
QString |
server, |
|
|
int |
instanceID, |
|
|
int |
tabID = -1 |
|
) |
| |
Constructor.
- Parameters
-
[in] | pMainWindow | - pointer to MainWindow |
[in] | binaryName | - name of module executable |
[in] | moduleTitle | - title of this module |
[in] | server | - server where the module runs |
[in] | instanceID | - module identification number |
[in] | tabID | - module tab index |
Constructor.
- Note
- This constructor saves a pointer to the Interface object,
-
looks for GPU devices and sets default execution mode.
- Parameters
-
Shows message box with the information about module.
- Note
- This is an overridden virtual function.
int Blank::getDebuggingLevel |
( |
| ) |
|
Gets current debug level.
- Returns
- debug
Gets currently set GPU device.
- Returns
- id
int Blank::getNumDevices |
( |
| ) |
|
Gets the number of detected GPU devices.
- Returns
- availableGPUs
void Blank::printConfiguration |
( |
| ) |
|
Prints general configuration.
void Blank::printGPUProperties |
( |
int |
deviceID | ) |
|
Prints properties of a given GPU devices.
- Parameters
-
[in] | deviceID | - id of a device whose properties are to be printed |
void Blank::printOptions |
( |
| ) |
|
Prints a list of possible arguments that can be set.
vector< string > Blank::queryGPU |
( |
| ) |
|
Returns detected GPU devices as a list of their names.
- Returns
- devices - names of GPU devices found on the system
void Blank::setDebuggingLevel |
( |
int |
level | ) |
|
Sets the level of debugging.
- Note
- When level 0 = no messages, level 1 = critical messages, level 2 = all messages.
- Parameters
-
void Blank::setDevice |
( |
int |
deviceID | ) |
|
Sets current GPU device.
- Parameters
-
void Blank::setDevices |
( |
int |
deviceID[MAX_GPU_DEVICES] | ) |
|
Sets mulitple GPU devices, enables P2P mode where possible.
- Parameters
-
[in] | deviceID[] | - list of IDs of GPU devices to be added |
void Blank::setGPUMode |
( |
bool |
gpuMode | ) |
|
Sets GPU mode.
- Parameters
-
[in] | gpuMode | - if true run in GPU mode else run in CPU mode |
void Blank::updateGUI |
( |
| ) |
|
|
protectedslot |
Updates graphical user interface.
- Note
- This is an overridden virtual function.
The documentation for this class was generated from the following files:
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/res/moduleGenerator/GUI/include/blank.h
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/res/moduleGenerator/module/include/blank.h
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/res/moduleGenerator/GUI/src/blank.cpp
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/res/moduleGenerator/module/src/blank.cpp