|
VizKit
3.0
|
#include <VisualUpdateManager.h>
Static Public Member Functions | |
| static void | dispose (void) |
| static void | checkForUpdate (void) |
| static void | getMoreInfoAboutAvailableUpdate (void) |
| static void | doDownloadAvailableUpdate (void) |
| static bool | evaluateUpdateInformation (void) |
Private Member Functions | |
| VisualUpdateManager () | |
| ~VisualUpdateManager () | |
| VisualUpdateManager (const VisualUpdateManager &other) | |
| VisualUpdateManager & | operator= (const VisualUpdateManager &other) |
| void | launchBrowserToOpenURL (const char *const URL) |
Static Private Member Functions | |
| static VisualUpdateManager * | getInstance (void) |
Private Attributes | |
| VisualString * | updateInformation |
| VisualString | currentVersionString |
| VisualString | infoURL |
| VisualString | downloadURL |
Static Private Attributes | |
| static VisualUpdateManager * | theVisualUpdateManager = NULL |
Checking for, prompting for, and downloading available updates for this visualizer.
| VisualUpdateManager::VisualUpdateManager | ( | ) | [private] |
The constructor. VisualUpdateManager is a singleton class. The constructor is private. New instance of class can only be created internally.
| VisualUpdateManager::~VisualUpdateManager | ( | ) | [private] |
The destructor. VisualUpdateManager is a singleton class. The destructor is private. Instance of class can only be destructed internally.
| VizKit::VisualUpdateManager::VisualUpdateManager | ( | const VisualUpdateManager & | other | ) | [private] |
Copy constructor.
| other | Another VisualNetwork. |
| void VisualUpdateManager::checkForUpdate | ( | void | ) | [static] |
Checks to see whether an update for the current visualizer is available online.
| void VisualUpdateManager::dispose | ( | void | ) | [static] |
Disposes the VisualUpdateManager.
| void VisualUpdateManager::doDownloadAvailableUpdate | ( | void | ) | [static] |
Launches external application to download available update.
| bool VisualUpdateManager::evaluateUpdateInformation | ( | void | ) | [static] |
Evaluates the update information.
| VisualUpdateManager * VisualUpdateManager::getInstance | ( | void | ) | [static, private] |
Constructs a VisualUpdateManager. The VisualUpdateManager acts as a singleton. Returns a pointer to the initialised VisualUpdateManager.
| void VisualUpdateManager::getMoreInfoAboutAvailableUpdate | ( | void | ) | [static] |
Launches external application to display more information about available update.
| void VisualUpdateManager::launchBrowserToOpenURL | ( | const char *const | URL | ) | [private] |
Launches browser application to open remote URL.
| VisualUpdateManager& VizKit::VisualUpdateManager::operator= | ( | const VisualUpdateManager & | other | ) | [private] |
Assignment operator.
The complete string of the current version.
Download URL.
URL pointing to more information about visualizer.
VisualUpdateManager * VisualUpdateManager::theVisualUpdateManager = NULL [static, private] |
VisualUpdateManager is a singleton class. Pointer to private instance is handled internally.
String containing the update information (fetched from VisualConfiguration::kCurrentVersionInformationURL).