Skip to content
Snippets Groups Projects
Commit 5faf47fd authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: add method to clean internal applications

parent d13a8986
Branches
Tags
No related merge requests found
......@@ -84,6 +84,13 @@ protected:
*/
bool AddApplication(std::string appType, std::string key, std::string desc);
/**
* Method to remove all internal applications. Application deriving from
* CompositeApplication should call this method at the begining of their
* DoInit().
*/
void ClearApplications();
/**
* Connect two existing parameters together. The first parameter will point to
* the second parameter.
......
......@@ -69,6 +69,13 @@ CompositeApplication
return true;
}
void
CompositeApplication
::ClearApplications()
{
m_AppContainer.clear();
}
bool
CompositeApplication
::Connect(std::string fromKey, std::string toKey)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment