Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
None.
Inherited By:
TGUIPresenter
Purpose:
MMenuActionHandler is a base class used to handle menu actions.
Instantiation:
Base class; do not allocate.
Deriving Classes:
Derive classes from this base class and override HandleMenuAction to provide desired menu action handling.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
virtual ~ MMenuActionHandler ()
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.
virtual bool HandleMenuAction (TMenuAction & action)
Interface Category:
API.
Purpose:
Derived classes should override this function to provide desired menu action handling.
Calling Context:
Called by the action after the action has been determined to be a menu action.
Parameters:
Return Value:
Returns true if the 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.
MMenuActionHandler ()
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.