[Orxonox-commit 2946] r7646 - code/branches/releasetodo/src/libraries/core
dafrick at orxonox.net
dafrick at orxonox.net
Sat Nov 13 22:00:19 CET 2010
Author: dafrick
Date: 2010-11-13 22:00:19 +0100 (Sat, 13 Nov 2010)
New Revision: 7646
Modified:
code/branches/releasetodo/src/libraries/core/Loader.cc
Log:
Some comments.
Modified: code/branches/releasetodo/src/libraries/core/Loader.cc
===================================================================
--- code/branches/releasetodo/src/libraries/core/Loader.cc 2010-11-13 20:10:57 UTC (rev 7645)
+++ code/branches/releasetodo/src/libraries/core/Loader.cc 2010-11-13 21:00:19 UTC (rev 7646)
@@ -87,6 +87,16 @@
}
}
+ /**
+ @brief
+ Loads all opened files, while conforming to the restrictions given by the input ClassTreeMask.
+ @param mask
+ A ClassTreeMask, which defines which types of classes are loaded and which aren't.
+ @param verbose
+ Whether the loader is verbose (prints its progress in a low output level) or not.
+ @return
+ Returns true if successful.
+ */
bool Loader::load(const ClassTreeMask& mask, bool verbose)
{
bool success = true;
@@ -108,12 +118,34 @@
}
}
+ /**
+ @brief
+ Reloads all opened files, while conforming to the restrictions given by the input ClassTreeMask.
+ @param mask
+ A ClassTreeMask, which defines which types of classes are reloaded and which aren't.
+ @param verbose
+ Whether the loader is verbose (prints its progress in a low output level) or not.
+ @return
+ Returns true if successful.
+ */
bool Loader::reload(const ClassTreeMask& mask, bool verbose)
{
Loader::unload(mask);
return Loader::load(mask, verbose);
}
+ /**
+ @brief
+ Loads the input file, while conforming to the restrictions given by the input ClassTreeMask.
+ @param file
+ The file to be loaded.
+ @param mask
+ A ClassTreeMask, which defines which types of classes are loaded and which aren't.
+ @param verbose
+ Whether the loader is verbose (prints its progress in a low output level) or not.
+ @return
+ Returns true if successful.
+ */
bool Loader::load(const XMLFile* file, const ClassTreeMask& mask, bool verbose)
{
if (!file)
@@ -220,6 +252,18 @@
}
}
+ /**
+ @brief
+ Reloads the input file, while conforming to the restrictions given by the input ClassTreeMask.
+ @param file
+ The file to be reloaded.
+ @param mask
+ A ClassTreeMask, which defines which types of classes are reloaded and which aren't.
+ @param verbose
+ Whether the loader is verbose (prints its progress in a low output level) or not.
+ @return
+ Returns true if successful.
+ */
bool Loader::reload(const XMLFile* file, const ClassTreeMask& mask, bool verbose)
{
Loader::unload(file, mask);
More information about the Orxonox-commit
mailing list