19 #include <unordered_map>
21 #include <torquescript/function.hpp>
50 std::unordered_map<std::string, std::unordered_map<std::string, std::shared_ptr<Function>>>
mFunctions;
A FunctionRegistry is used to keep track of registered functions in memory by the packages they are a...
Definition: functionregistry.hpp:33
std::string mPackageName
The package this registry belongs to.
Definition: functionregistry.hpp:44
bool mActive
Whether or not the registry is currently active.
Definition: functionregistry.hpp:47
std::unordered_map< std::string, std::unordered_map< std::string, std::shared_ptr< Function > > > mFunctions
A mapping of function namespaces to a mapping of function names to the function object.
Definition: functionregistry.hpp:50
FunctionRegistry(const std::string &package)
Constructs a new FunctionRegistry instance.
Definition: functionregistry.hpp:38