Skip to main content
The class representing the DPF execution context. This is used to configure several aspects of DPF like: #include <dpf_api_base.h>

Public Types

Public Member Functions

Static Public Member Functions

Detailed Description

The class representing the DPF execution context. This is used to configure several aspects of DPF like:
  • The XML configuration file to be loaded.
  • The license context to be used.
See also dpf::LibraryHandle, dpf::core::applyContext

Constructor & Destructor Documentation

Context()

Defines the settings that will be used to load DPF. A DPF xml file is used to define those settings. Parameters

Member Function Documentation

defaultContext()

static Creates a default context. Use with DPF runtime R2025R1 or later. Returns Context

entryContext()

static Returns Entry context instance that does not allow DPF to perform any license checkout, meaning that licensed DPF operators run will fail. See also Using DPF Context

errorOnPluginLoad()

Get the error reporting mode for plugin loading. Use with DPF runtime R2025R1 or later. Returns PluginLoadErrorMode

getContext()

Get the DPF context enum value. Returns EDpfContext

getLicenseContext()

Get the DPF license context enum value. Use with DPF runtime R2025R1 or later. Returns EDpfLicenseContext

getSetupFilePath()

Get the path to the XML file used to configure DPF. Returns std::string const&

premiumContext()

static Returns Premium context instance that allows DPF to perform license checkouts, allowing licensed DPF operators to run. See also Using DPF Context

standaloneContext()

static Creates a standalone context. Returns Context

userDefinedContext()

static Creates a user-defined context. Use with DPF runtime R2025R1 or later. Parameters Returns Context

withEntryLevelLicense()

Sets the license context to Entry. Use with DPF runtime R2025R1 or later. Returns Context&

withErrorOnPluginLoad()

Sets the mode in which DPF report errors when plugins are loaded. Use with DPF runtime R2025R1 or later. Parameters Returns Context&

withPremiumLicense()

Sets the license context to Premium. Use with DPF runtime R2025R1 or later. Returns Context&