modm API documentation
modm::CommunicatingViewStack Class Reference
Inheritance diagram for modm::CommunicatingViewStack:
modm::ViewStack

Public Member Functions

 CommunicatingViewStack (modm::ColorGraphicDisplay *display, xpcc::Communicator *communicator)
 
xpcc::CommunicatorgetCommunicator ()
 
modm::AbstractViewget ()
 get the top view from the stack More...
 
modm::ColorGraphicDisplaygetDisplay ()
 getDisplay access underlying GraphicDisplay
 
void pop ()
 pop remove top view from the stack. The removed view is deleted
 
void push (modm::AbstractView *view)
 push new view on top of stack the new view will be displayed instead of the old one More...
 
void shortButtonPress (modm::MenuButtons::Button button)
 shortButtonPress pass the button press to the current top view More...
 
virtual void update ()
 

Protected Attributes

xpcc::Communicatorcommunicator
 
modm::ColorGraphicDisplaydisplay
 
modm::Stack< modm::AbstractView *, modm::LinkedList< modm::AbstractView * > > stack
 

Member Function Documentation

modm::AbstractView* modm::ViewStack::get ( )
inheritedinline

get the top view from the stack

Returns
pointer to view from stack
void modm::ViewStack::push ( modm::AbstractView view)
inheritedinline

push new view on top of stack the new view will be displayed instead of the old one

Parameters
viewnext displayed view
void modm::ViewStack::shortButtonPress ( modm::MenuButtons::Button  button)
inherited

shortButtonPress pass the button press to the current top view

Parameters
buttonthe pressed button

The documentation for this class was generated from the following file: