Class: MBooleanControlActionHandler

Declaration: StandardControlActions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

TBooleanControlGroup

Purpose:

MBooleanControlActionHandler is a base class used to handle actions generated by Boolean control states.

Instantiation:

Base class; do not allocate.

Deriving Classes:

Derive classes from this base class and override HandleBooleanControlAction to provide desired Boolean control action handling.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: MBooleanControlActionHandler::~MBooleanControlActionHandler

virtual ~ MBooleanControlActionHandler ()

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: MBooleanControlActionHandler::HandleBooleanControlAction

virtual bool HandleBooleanControlAction (TBooleanControlAction & action)

Interface Category:

API.

Purpose:

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

Calling Context:

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

Parameters:

Return Value:

Returns true if the Boolean control 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: MBooleanControlActionHandler::MBooleanControlActionHandler

MBooleanControlActionHandler ()

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.