NDEVR
API Documentation
ModuleResourceManager

Stores all dependencies for a combination of modules that make up a complete software package. More...

Collaboration diagram for ModuleResourceManager:
[legend]

Public Member Functions

void addDependency (DependencyType type, const StringView &resource, const StringView &os_type=OSType::all, const StringView &config_type=ConfigType::all, const StringView &platform_type=PlatformType::all)
 Adds a dependency of the specified type to this module.
void addFileDependency (const StringView &resource, const StringView &os_type=OSType::all, const StringView &config_type=ConfigType::all, const StringView &platform_type=PlatformType::all)
 Adds a file dependency to this module.
void addInstallExeDependency (const StringView &resource, const StringView &os_type=OSType::all, const StringView &config_type=ConfigType::all, const StringView &platform_type=PlatformType::all)
 Adds an install-time executable dependency to this module.
void addModuleDependency (const StringView &resource, const StringView &os_type=OSType::all, const StringView &config_type=ConfigType::all, const StringView &platform_type=PlatformType::all)
 Adds a module dependency to this module.

Public Attributes

Buffer< ModuleDependencydependencies
 All dependencies owned by this module.
Buffer< FileHandlerfile_handlers
 File types this module can handle.
Buffer< FireWallExceptionfirewall_exceptions
 Firewall exceptions required by this module.
String launch_function
 Entry-point launch function name for executable modules.
Buffer< Stringpermissions
 OS permissions required by this module.
Buffer< RegistryKeyActionregistry_actions
 Registry actions to perform at install time.
ModuleConfiguration supported_configurations
 Supported configurations (empty means all).

Detailed Description

Stores all dependencies for a combination of modules that make up a complete software package.


Definition at line 303 of file ModuleResourceManager.h.

Member Function Documentation

◆ addDependency()

void ModuleResourceManager::addDependency ( DependencyType type,
const StringView & resource,
const StringView & os_type = OSType::all,
const StringView & config_type = ConfigType::all,
const StringView & platform_type = PlatformType::all )

Adds a dependency of the specified type to this module.

Parameters
[in]typeThe type of dependency to add.
[in]resourceThe resource name or path.
[in]os_typeThe supported operating system types.
[in]config_typeThe supported build configuration types.
[in]platform_typeThe supported CPU platform types.

References ConfigType::all, OSType::all, and PlatformType::all.

◆ addFileDependency()

void ModuleResourceManager::addFileDependency ( const StringView & resource,
const StringView & os_type = OSType::all,
const StringView & config_type = ConfigType::all,
const StringView & platform_type = PlatformType::all )

Adds a file dependency to this module.

Parameters
[in]resourceThe file name or path.
[in]os_typeThe supported operating system types.
[in]config_typeThe supported build configuration types.
[in]platform_typeThe supported CPU platform types.

References ConfigType::all, OSType::all, and PlatformType::all.

◆ addInstallExeDependency()

void ModuleResourceManager::addInstallExeDependency ( const StringView & resource,
const StringView & os_type = OSType::all,
const StringView & config_type = ConfigType::all,
const StringView & platform_type = PlatformType::all )

Adds an install-time executable dependency to this module.

Parameters
[in]resourceThe executable name or path.
[in]os_typeThe supported operating system types.
[in]config_typeThe supported build configuration types.
[in]platform_typeThe supported CPU platform types.

References ConfigType::all, OSType::all, and PlatformType::all.

◆ addModuleDependency()

void ModuleResourceManager::addModuleDependency ( const StringView & resource,
const StringView & os_type = OSType::all,
const StringView & config_type = ConfigType::all,
const StringView & platform_type = PlatformType::all )

Adds a module dependency to this module.

Parameters
[in]resourceThe module name.
[in]os_typeThe supported operating system types.
[in]config_typeThe supported build configuration types.
[in]platform_typeThe supported CPU platform types.

References ConfigType::all, OSType::all, and PlatformType::all.


The documentation for this class was generated from the following file: