Numworks Epsilon  1.4.1
Graphing Calculator Operating System
app.h
Go to the documentation of this file.
1 #ifndef HARDWARE_TEST_APP_H
2 #define HARDWARE_TEST_APP_H
3 
4 #include <escher.h>
5 #include "usb_test_controller.h"
7 
8 class AppsContainer;
9 
10 namespace HardwareTest {
11 
12 class App : public ::App {
13 public:
14  class Snapshot : public ::App::Snapshot {
15  public:
16  App * unpack(Container * container) override;
17  Descriptor * descriptor() override;
18  };
20  int numberOfTimers() override;
21  Timer * timerAtIndex(int i) override;
22  bool processEvent(Ion::Events::Event e) override;
23 private:
25  KeyboardTestController m_keyboardController;
26  USBTestController m_USBTestController;
27 };
28 
29 }
30 
31 #endif
32 
Definition: timer.h:15
bool processEvent(Ion::Events::Event e) override
Definition: app.cpp:39
Snapshot * snapshot()
Definition: app.cpp:41
int numberOfTimers() override
Definition: app.cpp:30
App * unpack(Container *container) override
Definition: app.cpp:10
Timer * timerAtIndex(int i) override
Definition: app.cpp:34
const Container * container() const
Definition: app.cpp:102
Descriptor * descriptor() override
Definition: app.cpp:14
ViewController * USBController()
Definition: app.cpp:26