| 
    modm API documentation
    
   | 
 
Stack which handles the displaying of views on the graphic display. More...
#include <modm/ui/menu/view_stack.hpp>
  
 Public Member Functions | |
| ViewStack (modm::GraphicDisplay *display, const Allocator allocator=Allocator ()) | |
| modm::AbstractView< Allocator > * | get () | 
| get the top view from the stack  More... | |
| void | push (modm::AbstractView< Allocator > *view) | 
| push new view on top of stack the new view will be displayed instead of the old one  More... | |
| modm::GraphicDisplay & | getDisplay () | 
| getDisplay access underlying GraphicDisplay  | |
| void | pop () | 
| pop remove top view from the stack. The removed view is deleted  | |
| virtual void | update () | 
| void | shortButtonPress (modm::MenuButtons::Button button) | 
| shortButtonPress pass the button press to the current top view  More... | |
Protected Attributes | |
| modm::GraphicDisplay * | display | 
| modm::Stack< modm::AbstractView< Allocator > *, modm::LinkedList< modm::AbstractView< Allocator > * > > | stack | 
| Allocator | allocator | 
Stack which handles the displaying of views on the graphic display.
This class also deallocates the views passed to the stack.
      
  | 
  inline | 
get the top view from the stack
      
  | 
  inline | 
push new view on top of stack the new view will be displayed instead of the old one
| view | next displayed view | 
      
  | 
  inline | 
shortButtonPress pass the button press to the current top view
| button | the pressed button |