Class for setting search path for locating dynamic libraries, scripts etc.
More...
#include <Environment.h>
Class for setting search path for locating dynamic libraries, scripts etc.
Environment has three paths, of which user should use: RESOURCE_PATH and RUNTIME_PATH
RESOURCE_PATH - lists directories where AGX can find license files, kernel files, configuration files and scripts. BINARY_PATH - lists directories where AGX should search for collider plugins, kernel binaries etc.
Definition at line 42 of file Environment.h.
Specifies the ranges of the priority which can be assigned to a singleton at the time of creation.
| Enumerator |
|---|
| HIGHEST_PRIORITY |
The highest priority that can be given to a singleton.
|
| LOWEST_PRIORITY |
The lowest priority that can be given to a singleton.
|
| DEFAULT_PRIORITY |
The default priority given to a singleton.
|
Definition at line 35 of file Singleton.h.
Specifies which path to access.
| Enumerator |
|---|
| RESOURCE_PATH |
Specifies paths for where to search for resource files such as scripts, images, models etc.
|
| RUNTIME_PATH |
Specifies paths for where to search for plugin's/runtime libraries.
|
| COMPONENT_DEV_PATH |
Specifies paths for where to search for component definitions and source code (only for developers)
|
| NUM_TYPES |
|
Definition at line 47 of file Environment.h.
| agxIO::Environment::Environment |
( |
| ) |
|
Constructor that will initialize the FilePathContainer with data:
RESOURCE_PATH: Paths from the environment variable AGX_FILE_PATH RUNTIME_PATH: Paths from the environment variable PATH/LD_LIBRARY_PATH
| void agx::Singleton::_shutdown |
( |
| ) |
|
|
protectedinherited |
| virtual std::string agx::Singleton::getClassName |
( |
| ) |
const |
|
pure virtualinherited |
- Returns
- reference to the FilePathContainer for finding files given the current setup filepath:s.
- Returns
- a const reference to the FilePathContainer for finding files given the current setup filepath:s.
| int agx::Singleton::getPriority |
( |
| ) |
const |
|
inherited |
Return the shutdown priority of the singleton instance.
| void agxIO::Environment::shutdown |
( |
| ) |
|
|
overrideprotectedvirtual |
Implement this method to cleanup your Singleton class.
Reimplemented from agx::Singleton.
The documentation for this class was generated from the following file: