MVPHeap
Generic heap class for MVP applications. Serves as a way of obtaining the memory storage areas for presenters, screens, transitions and the concrete application.
Subclassed by an application-specific heap which provides the actual storage areas. This generic interface is used only in makeTransition.
Public Functions
| MVPHeap(AbstractPartition & pres, AbstractPartition & scr, AbstractPartition & tra, MVPApplication & app) | |
| Initializes a new instance of the MVPHeap class. | |
| virtual | ~MVPHeap() | 
| Finalizes an instance of the MVPHeap class. | |
Public Attributes
| MVPApplication & | frontendApplication | 
| A reference to the MVPApplication instance. | |
| AbstractPartition & | presenterStorage | 
| A memory partition containing enough memory to hold the largest presenter. | |
| AbstractPartition & | screenStorage | 
| A memory partition containing enough memory to hold the largest view. | |
| AbstractPartition & | transitionStorage | 
| A memory partition containing enough memory to hold the largest transition. | |
Public Functions Documentation
MVPHeap
| MVPHeap | ( | AbstractPartition & | pres , | ||
| AbstractPartition & | scr , | ||||
| AbstractPartition & | tra , | ||||
| MVPApplication & | app | ||||
| ) | 
Initializes a new instance of the MVPHeap class.
| pres | A memory partition containing enough memory to hold the largest presenter. | 
| scr | A memory partition containing enough memory to hold the largest view. | 
| tra | A memory partition containing enough memory to hold the largest transition. | 
| app | A reference to the MVPApplication instance. | 
~MVPHeap
Public Attributes Documentation
frontendApplication
MVPApplication & frontendApplication
A reference to the MVPApplication instance.
presenterStorage
AbstractPartition & presenterStorage
A memory partition containing enough memory to hold the largest presenter.
screenStorage
AbstractPartition & screenStorage
A memory partition containing enough memory to hold the largest view.
transitionStorage
AbstractPartition & transitionStorage
A memory partition containing enough memory to hold the largest transition.