VizKit
3.3.7
|
Checking for, prompting for, and downloading available updates for this visualizer. More...
#include <VisualUpdateManager.h>
Static Public Member Functions | |
static void | dispose (void) |
Disposes the VisualUpdateManager. | |
static void | checkForUpdate (void) |
Checks to see whether an update for the current visualizer is available online. | |
static void | getMoreInfoAboutAvailableUpdate (void) |
Launches external application to display more information about available update. | |
static void | doDownloadAvailableUpdate (void) |
Launches external application to download available update. | |
static bool | evaluateUpdateInformation (void) |
Evaluates the update information. | |
Private Member Functions | |
VisualUpdateManager () | |
The constructor. | |
~VisualUpdateManager () | |
The destructor. | |
VisualUpdateManager (const VisualUpdateManager &other) | |
Copy constructor. | |
VisualUpdateManager & | operator= (const VisualUpdateManager &other) |
Assignment operator. | |
void | launchBrowserToOpenURL (const char *const URL) |
Launches browser application to open remote URL. | |
Static Private Member Functions | |
static VisualUpdateManager * | getInstance (void) |
Constructs a VisualUpdateManager. | |
Private Attributes | |
VisualString * | updateInformation |
String containing the update information (fetched from VisualConfiguration::kCurrentVersionInformationURL). | |
VisualString | currentVersionString |
The complete string of the current version. | |
VisualString | infoURL |
URL pointing to more information about visualizer. | |
VisualString | downloadURL |
Download URL. | |
Static Private Attributes | |
static VisualUpdateManager * | theVisualUpdateManager = NULL |
VisualUpdateManager is a singleton class. |
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).