Class: MActionHandler

Declaration: Action.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

MActionHandler is a mixin class that allows derived classes to handle actions of TAction.

Instantiation:

MActionHandler is a mixin class and cannot be instantiated.

Deriving Classes:

Derive from MActionHandler to handle actions derived from TActions.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: MActionHandler::~MActionHandler

virtual ~ MActionHandler ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: MActionHandler::MActionHandler

MActionHandler ()

Interface Category:

API.

Purpose:

Default constructor.

Calling Context:

Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: MActionHandler::HandleAction

virtual bool HandleAction (TAction & action)

Interface Category:

API.

Purpose:

Handles the specified action. Deriving classes must override this member function to handle the action.

Calling Context:

Called after the target has been determined to be an MActionHandler.

Parameters:

Return Value:

Returns true if the action was handled. Returns false if the action was not handled.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.