#include <tracker.h>
|
| Tracker (MainWindow *pMainWindow, QString binaryName, QString moduleTitle, QString serverName, int instanceID, int tabID=-1) |
| Constructor.
|
|
| ~Tracker () |
| Destructor.
|
|
| Tracker (Interface *pInterface) |
| Constructor.
|
|
void | initialise () |
| Initialialises everything.
|
|
void | deinitialise () |
| Deinitialises everything and deallocates memory.
|
|
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 | setSimulationMode (int simulation) |
| Sets simulation mode.
|
|
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.
|
|
void | setThreshold (int thresholdValue) |
| Sets sensitivity treshold.
|
|
int | getSimulationMode () |
| Gets simulation mode.
|
|
int | getDevice () |
| Gets currently set GPU device.
|
|
int | getNumDevices () |
| Gets the number of detected GPU devices.
|
|
int | getDebuggingLevel () |
| Gets current debug level.
|
|
int | getThreshold () |
| Gets sensitivity treshold.
|
|
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.
|
|
Tracker graphical user interface
Tracker::Tracker |
( |
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.
void Tracker::deinitialise |
( |
| ) |
|
Deinitialises everything and deallocates memory.
int Tracker::getDebuggingLevel |
( |
| ) |
|
Gets current debug level.
- Returns
- debug
int Tracker::getDevice |
( |
| ) |
|
Gets currently set GPU device.
- Returns
- id
int Tracker::getNumDevices |
( |
| ) |
|
Gets the number of detected GPU devices.
- Returns
- availableGPUs
int Tracker::getSimulationMode |
( |
| ) |
|
int Tracker::getThreshold |
( |
| ) |
|
Gets sensitivity treshold.
void Tracker::initialise |
( |
| ) |
|
Initialialises everything.
void Tracker::printConfiguration |
( |
| ) |
|
Prints general configuration.
void Tracker::printGPUProperties |
( |
int |
deviceID | ) |
|
Prints properties of a given GPU devices.
- Parameters
-
[in] | deviceID | - id of a device whose properties are to be printed |
void Tracker::printOptions |
( |
| ) |
|
Prints a list of possible arguments that can be set.
vector< string > Tracker::queryGPU |
( |
| ) |
|
Returns detected GPU devices as a list of their names.
- Returns
- devices - names of GPU devices found on the system
void Tracker::setDebuggingLevel |
( |
int |
level | ) |
|
Sets the level of debugging.
- Note
- When level 0 = no messages, level 1 = critical messages, level 2 = all messages.
- Parameters
-
void Tracker::setDevice |
( |
int |
deviceID | ) |
|
Sets current GPU device.
- Parameters
-
void Tracker::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 Tracker::setGPUMode |
( |
bool |
gpuMode | ) |
|
Sets GPU mode.
- Parameters
-
[in] | gpuMode | - if true run in GPU mode else run in CPU mode |
void Tracker::setSimulationMode |
( |
int |
simulation | ) |
|
void Tracker::setThreshold |
( |
int |
thresholdValue | ) |
|
Sets sensitivity treshold.
- Parameters
-
void Tracker::updateGUI |
( |
| ) |
|
|
protectedslot |
Updates graphical user interface.
- Note
- This is an overridden virtual function.
bool Tracker::terminalMode |
The documentation for this class was generated from the following files:
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/include/tracker.h
- C:/Users/mpeniak/Dropbox/Aquila/trunk/modules/tracker/include/tracker.h
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/src/tracker.cpp
- C:/Users/mpeniak/Dropbox/Aquila/trunk/modules/tracker/src/tracker.cpp