Class: MBooleanMenuActionHandler

Declaration: StandardControlActions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

MBooleanMenuActionHandler is a specialized base class for handling actions from Boolean menu items.

Instantiation:

Base class; do not allocate.

Deriving Classes:

Derive classes from MBooleanMenuActionHandler, and override HandleBooleanMenuAction to provide desired Boolean menu action handling.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: MBooleanMenuActionHandler::~MBooleanMenuActionHandler

virtual ~ MBooleanMenuActionHandler ()

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: MBooleanMenuActionHandler::HandleBooleanMenuAction

virtual bool HandleBooleanMenuAction (TBooleanMenuAction & action)

Interface Category:

API.

Purpose:

Derived classes should override this function to provide desired Boolean menu action handling.

Calling Context:

Called by the action after the action has been determined to be a Boolean menu action.

Parameters:

Return Value:

Returns true if the Boolean menu action is successfully handled, false otherwise.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

This is a pure virtual function and needs to be overridden.

Member Function: MBooleanMenuActionHandler::MBooleanMenuActionHandler

MBooleanMenuActionHandler ()

Interface Category:

API.

Purpose:

Default constructor. This constructor is protected.

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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.