Public Types | Public Member Functions | Public Attributes
Tonido::Patch::UpdateManager Class Reference

Updater responsible for patching Application, BootStrap, Core and Thirdparty files. More...

List of all members.

Public Types

typedef boost::shared_ptr
< UpdateManager
SharedPtr

Public Member Functions

 UpdateManager ()
 Ctor.
 ~UpdateManager ()
 Dtor.
bool checkSystemUpdates (const std::string &a_appRoot, bool a_doUpdate, bool a_forceCheck)
 Checks the system for updates.
bool checkPlugin (const std::string &a_dir, bool a_doUpdate, bool a_forceCheck)
 Checks the plugin for updates.
void checkPluginUpdates (bool a_forceCheck)
 Checks all the plugins for updates.
void getInstallablePlugins (const std::string a_url, std::vector< Plugin::Manifest::ManifestData > &a_pluginData)
 Returns the list of installable plugins.
void processActions (const std::string &a_when, const std::string &a_operation)
 Process All the Actions at Tonido startup and shutdown time.
void updateAllPlugins ()
 Update all apps in one shot.
bool doPluginUpdate (const std::string &a_path)
 Update specific plugin.
bool checkPluginPath (const std::string &a_pluginPath)

Public Attributes

bool m_needsUpdate
bool m_isCriticalUpdate
bool m_needsPluginUpdate
bool m_isCriticalPluginUpdate

Detailed Description

Updater responsible for patching Application, BootStrap, Core and Thirdparty files.


Constructor & Destructor Documentation

Tonido::Patch::UpdateManager::UpdateManager ( )

Ctor.

Details if needed

Tonido::Patch::UpdateManager::~UpdateManager ( )

Dtor.

Details if needed


Member Function Documentation

bool Tonido::Patch::UpdateManager::checkPlugin ( const std::string &  a_dir,
bool  a_doUpdate,
bool  a_forceCheck 
)

Checks the plugin for updates.

Returns:
none
void Tonido::Patch::UpdateManager::checkPluginUpdates ( bool  a_forceCheck)

Checks all the plugins for updates.

Returns:
none
bool Tonido::Patch::UpdateManager::checkSystemUpdates ( const std::string &  a_appRoot,
bool  a_doUpdate,
bool  a_forceCheck 
)

Checks the system for updates.

Returns:
none
bool Tonido::Patch::UpdateManager::doPluginUpdate ( const std::string &  a_path)

Update specific plugin.

Returns:
none
void Tonido::Patch::UpdateManager::getInstallablePlugins ( const std::string  a_url,
std::vector< Plugin::Manifest::ManifestData > &  a_pluginData 
)

Returns the list of installable plugins.

Returns:
none
void Tonido::Patch::UpdateManager::processActions ( const std::string &  a_when,
const std::string &  a_operation 
)

Process All the Actions at Tonido startup and shutdown time.

Returns:
none
void Tonido::Patch::UpdateManager::updateAllPlugins ( )

Update all apps in one shot.

Returns:
none

Generated on Wed Oct 12 2011 21:46:53. © CodeLathe LLC 2007-2011. All Rights Reserved.