17 #ifndef AGXIO_ENVIRONMENT_H
18 #define AGXIO_ENVIRONMENT_H
86 bool setupFromRegistry();
88 SINGLETON_CLASSNAME_METHOD();
100 #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:
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.
agxIO::FilePathContainer & getFilePath(Type t=RESOURCE_PATH)
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.
AgXString< std::string > String
void AGXPHYSICS_EXPORT shutdown()
Shutdown agx.