modm API documentation
|
Public Member Functions | |
CommunicatingViewStack (modm::GraphicDisplay *display, xpcc::Communicator *communicator) | |
xpcc::Communicator * | getCommunicator () |
modm::AbstractView< Allocator > * | get () |
get the top view from the stack More... | |
modm::GraphicDisplay & | getDisplay () |
getDisplay access underlying GraphicDisplay | |
void | pop () |
pop remove top view from the stack. The removed view is deleted | |
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... | |
void | shortButtonPress (modm::MenuButtons::Button button) |
shortButtonPress pass the button press to the current top view More... | |
virtual void | update () |
Protected Attributes | |
xpcc::Communicator * | communicator |
Allocator | allocator |
modm::GraphicDisplay * | display |
modm::Stack< modm::AbstractView< Allocator > *, modm::LinkedList< modm::AbstractView< Allocator > * > > | stack |
|
inheritedinline |
get the top view from the stack
|
inheritedinline |
push new view on top of stack the new view will be displayed instead of the old one
view | next displayed view |
|
inheritedinline |
shortButtonPress pass the button press to the current top view
button | the pressed button |