78 agx::String findComponent(const
agx::String& path) const;
85 bool setupFromRegistry();
87 SINGLETON_CLASSNAME_METHOD();
92 void shutdown() override;
99#define AGX_ENVIRONMENT() (*agxIO::Environment::instance())
Class for setting search path for locating dynamic libraries, scripts etc.
Environment()
Constructor that will initialize the FilePathContainer with data:
agxIO::FilePathContainer & getFilePath(Type t=RESOURCE_PATH)
Type
Specifies which path to access.
@ COMPONENT_DEV_PATH
Specifies paths for where to search for component definitions and source code (only for developers)
@ RUNTIME_PATH
Specifies paths for where to search for plugin's/runtime libraries.
@ RESOURCE_PATH
Specifies paths for where to search for resource files such as scripts, images, models etc.
const agxIO::FilePathContainer & getFilePath(Type t=RESOURCE_PATH) const
static Environment * instance(void)
Base class for Singletons that should have its shutdown called explicitly before exit of the applicat...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxIO namespace contains classes for reading, writing and finding files.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.