InstanceBlock Class Reference

#include <Interpreter.hpp>

Public Member Functions

 InstanceBlock ()
 
 InstanceBlock (RexxOption *options)
 
 InstanceBlock (PRXSYSEXIT exits, const char *env)
 
 ~InstanceBlock ()
 

Public Attributes

RexxActivityactivity
 
InterpreterInstanceinstance
 

Detailed Description

Definition at line 199 of file Interpreter.hpp.

Constructor & Destructor Documentation

◆ InstanceBlock() [1/3]

InstanceBlock::InstanceBlock ( )

Manage a context where a new interpreter instance is created for the purposes of acquiring an activity, and the activity is released and the instance is terminated upon leaving the block.

Definition at line 376 of file Interpreter.cpp.

References activity, Interpreter::createInterpreterInstance(), InterpreterInstance::getRootActivity(), and instance.

◆ InstanceBlock() [2/3]

InstanceBlock::InstanceBlock ( RexxOption options)

Manage a context where a new interpreter instance is created for the purposes of acquiring an activity, and the activity is released and the instance is terminated upon leaving the block.

Definition at line 391 of file Interpreter.cpp.

References activity, Interpreter::createInterpreterInstance(), InterpreterInstance::getRootActivity(), and instance.

◆ InstanceBlock() [3/3]

InstanceBlock::InstanceBlock ( PRXSYSEXIT  exits,
const char *  env 
)

Manage a context where a new interpreter instance is created for the purposes of acquiring an activity, and the activity is released and the instance is terminated upon leaving the block.

Definition at line 406 of file Interpreter.cpp.

References activity, Interpreter::createInterpreterInstance(), InterpreterInstance::getRootActivity(), INITIAL_ADDRESS_ENVIRONMENT, instance, RexxOption::option, RexxOption::optionName, and REGISTERED_EXITS.

◆ ~InstanceBlock()

InstanceBlock::~InstanceBlock ( )

Release the kernal access and cleanup when the context block goes out of scope.

Definition at line 441 of file Interpreter.cpp.

References activity, RexxActivity::exitCurrentThread(), instance, and InterpreterInstance::terminate().

Member Data Documentation

◆ activity

RexxActivity* InstanceBlock::activity

Definition at line 207 of file Interpreter.hpp.

Referenced by InstanceBlock(), ActivityDispatcher::invoke(), and ~InstanceBlock().

◆ instance

InterpreterInstance* InstanceBlock::instance

Definition at line 208 of file Interpreter.hpp.

Referenced by InstanceBlock(), and ~InstanceBlock().


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