Overview
C API (Component Interface)
struct ExecutionInfo { struct FrameworkVersion engineVersion; Symbol executionParameters; Symbol BufferingPolicy; };

The system information structure holds information about the system and the execution, and is passed to the module during EVENT_MODULE_INIT.

Fields

FrameworkVersion engineVersion
This is the run-time version of the engine, i.e. the engine that is currently loaded.
Symbol executionParameters
This is the root element of the Execution Parameters that have been collated from all sources. These can be read at any time (but should not be written).
Symbol BufferingPolicy
One of C_BUFFERING_ONLY_DISK, C_BUFFERING_FAVOUR_DISK, C_BUFFERING_BALANCED, C_BUFFERING_FAVOUR_MEMORY or C_BUFFERING_ONLY_MEMORY. A pre-parsed version of the Execution Parameter BufferingPolicy.

Example

This example uses the 1199 bindings - to access natively use the XML Interface directly.

C++ API (1199)
// anywhere in your 1199 code XMLNode pars(executionInfo->executionParameters); bout << "WorkingDirectory = " << pars.getChild("WorkingDirectory")->nodeText() << D_INFO; // naughty! this will generate an error, because these are read-only pars.clear();