43 #ifndef Included_InterpreterInstance_hpp
44 #define Included_InterpreterInstance_hpp
49 #include "SysInterpreterInstance.hpp"
66 inline void *
operator new(size_t,
void *ptr) {
return ptr;}
67 inline void operator delete(
void *,
void *) {;}
68 void *
operator new(size_t);
69 inline void operator delete(
void *) {;}
void resolve(const char *name)
void setEntryPoint(REXXPFN e)
SecurityManager * securityManager
bool poolActivity(RexxActivity *activity)
void removeActivity(RexxActivity *)
RexxObject * getLocalEnvironment(RexxString *)
void setSecurityManager(RexxObject *m)
void addGlobalReference(RexxObject *o)
ExitHandler exits[RXNOOFEXITS+1]
RexxActivity * enterOnCurrentThread()
RexxActivity * findActivity()
RexxInstance * getInstanceContext()
SysInterpreterInstance sysInstance
RexxActivity * attachThread()
RexxDirectory * localEnvironment
RexxIdentityTable * globalReferences
RexxActivity * getRootActivity()
InterpreterInstance(ExitHandler *handlers)
void setExitHandler(RexxContextExit &e)
void addRequiresFile(RexxString *shortName, RexxString *fullName, PackageClass *package)
bool haltAllActivities(RexxString *)
static RexxInstanceInterface interfaceVector
void setupProgram(RexxActivation *activation)
void removeGlobalReference(RexxObject *o)
PackageClass * getRequiresFile(RexxActivity *activity, RexxString *name)
PackageClass * loadRequires(RexxActivity *activity, RexxString *shortName, const char *data, size_t length)
ExitHandler & getExitHandler(int exitNum)
void setExitHandler(int exitNum, const char *e)
void addCommandHandler(const char *name, const char *registeredName)
InterpreterInstance(RESTORETYPE restoreType)
void addActivity(RexxActivity *)
RexxList * searchExtensions
void traceAllActivities(bool on)
SecurityManager * getSecurityManager()
void setExitHandler(int exitNum, REXXPFN e)
RexxDirectory * getLocal()
void setExitHandler(RXSYSEXIT &e)
void copyExits(ExitHandler *target)
void runRequires(RexxActivity *activity, RexxString *name, RoutineClass *code)
RexxActivity * rootActivity
SysSemaphore terminationSem
void removeInactiveActivities()
void initialize(RexxActivity *activity, RexxOption *options)
void activityDeactivated(RexxActivity *activity)
RexxActivity * spawnActivity(RexxActivity *parent)
RexxString * defaultEnvironment
RexxThreadContext * getRootThreadContext()
RexxDirectory * requiresFiles
RexxString * getDefaultEnvironment()
bool processOptions(RexxOption *options)
RexxString * resolveProgramName(RexxString *name, RexxString *dir, RexxString *ext)
CommandHandler * resolveCommandHandler(RexxString *name)
RexxDirectory * commandHandlers
RexxString * resolveProgramName(RexxString *_name, RexxString *_parentDir, RexxString *_parentExtension)
void setupProgram(RexxActivation *activation)
CONSTANT_STRING sysexit_name
RexxContextExitHandler * handler
RexxInstance instanceContext