Add property that contains the list of all compiled modules (closes #1021)

This commit is contained in:
Alexander Bock
2022-06-18 19:44:05 +02:00
parent 6626e98c88
commit 02a2bcf1af
2 changed files with 23 additions and 2 deletions

View File

@@ -27,6 +27,7 @@
#include <openspace/properties/propertyowner.h>
#include <openspace/properties/list/stringlistproperty.h>
#include <map>
#include <memory>
#include <vector>
@@ -123,7 +124,10 @@ public:
static scripting::LuaLibrary luaLibrary();
private:
/// The list of all registered OpenSpaceModule%s
/// The list of all names of all registered OpenSpaceModules
properties::StringListProperty _allModules;
/// The list of all registered OpenSpaceModules
std::vector<std::unique_ptr<OpenSpaceModule>> _modules;
};