TrappingDispatcher Class Reference

#include <TrappingDispatcher.hpp>

Inheritance diagram for TrappingDispatcher:
[legend]

Public Member Functions

 TrappingDispatcher ()
 
virtual ~TrappingDispatcher ()
 
virtual void run ()
 
virtual void handleError (wholenumber_t, RexxDirectory *)
 
virtual void handleError (RexxDirectory *)
 
void setContext (RexxActivity *act, RexxNativeActivation *a)
 

Public Attributes

wholenumber_t rc
 

Protected Attributes

RexxActivityactivity
 
RexxNativeActivationactivation
 
RexxDirectoryconditionData
 

Detailed Description

Definition at line 47 of file TrappingDispatcher.hpp.

Constructor & Destructor Documentation

◆ TrappingDispatcher()

TrappingDispatcher::TrappingDispatcher ( )
inline

Definition at line 50 of file TrappingDispatcher.hpp.

◆ ~TrappingDispatcher()

virtual TrappingDispatcher::~TrappingDispatcher ( )
inlinevirtual

Definition at line 51 of file TrappingDispatcher.hpp.

Member Function Documentation

◆ handleError() [1/2]

void TrappingDispatcher::handleError ( RexxDirectory c)
virtual

Default handler for any error conditions. This just sets the condition information in the dispatch unit.

Parameters
cThe condition information for the error.

Reimplemented in UninitDispatcher.

Definition at line 77 of file TrappingDispatcher.cpp.

References activation, RexxNativeActivation::checkConditions(), and OREF_NULL.

◆ handleError() [2/2]

void TrappingDispatcher::handleError ( wholenumber_t  r,
RexxDirectory c 
)
virtual

Default handler for any error conditions. This just sets the condition information in the dispatch unit.

Parameters
cThe condition information for the error.

Reimplemented in UninitDispatcher.

Definition at line 63 of file TrappingDispatcher.cpp.

References conditionData, and rc.

Referenced by RexxNativeActivation::run().

◆ run()

void TrappingDispatcher::run ( )
virtual

Default virtual method for handling a run() methods on an activity dispatcher.

Reimplemented in UninitDispatcher.

Definition at line 51 of file TrappingDispatcher.cpp.

Referenced by RexxNativeActivation::run().

◆ setContext()

void TrappingDispatcher::setContext ( RexxActivity act,
RexxNativeActivation a 
)
inline

Definition at line 57 of file TrappingDispatcher.hpp.

References activation, and activity.

Referenced by RexxNativeActivation::run().

Member Data Documentation

◆ activation

RexxNativeActivation* TrappingDispatcher::activation
protected

Definition at line 63 of file TrappingDispatcher.hpp.

Referenced by handleError(), UninitDispatcher::handleError(), and setContext().

◆ activity

RexxActivity* TrappingDispatcher::activity
protected

Definition at line 62 of file TrappingDispatcher.hpp.

Referenced by setContext().

◆ conditionData

RexxDirectory* TrappingDispatcher::conditionData
protected

Definition at line 64 of file TrappingDispatcher.hpp.

Referenced by handleError().

◆ rc

wholenumber_t TrappingDispatcher::rc

Definition at line 59 of file TrappingDispatcher.hpp.

Referenced by handleError().


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