BCGSuite for MFC
CBCGPHistoryManagerabstract

Detailed Description

The CBCGPHistoryManager class implements an application-specific actions management; this class behaves like a stack (FIFO) and can be used for navigation between the recent actions or objects.

Public Member Functions

 CBCGPHistoryManagerConstructs a CBCGPHistoryManager object.
 
 AddItemAdds a new item to the manager.
 
 GetItemRetrieves the history item by index.
 
 GetMaxItemsRetrieves the maximal number of items that can be added to the manager.
 
 GetSizeRetrieves the number of the added items.
 
 IsNavBackAvailableTells whether backward navigation is currently permitted.
 
 IsNavForwardAvailableTells whether forward navigation is currently permitted.
 
 NavigatePerform the navigation action to the specific history item.
 
 NavigateBackPerform the backward navigation action.
 
 NavigateForwardPerform the forward navigation action.
 
 OnNavigateCalled by the framework to perform an application-specific history navigation action.
 
 RemoveAllItemsRemoves all previously added items.
 
 SetMaxItemsSpecifies the maximal number of items that can be added to the manager.