My Elma Project
An event loop manager for embedded systems
Main Page
Classes
Files
File List
All
Classes
Functions
include
user_interface.h
1
#include <iostream>
2
#include <chrono>
3
#include <vector>
4
#include <ncurses.h>
5
6
#include "stopwatch.h"
7
8
namespace
stopwatch
{
9
10
using namespace
std::chrono
;
11
using namespace
elma
;
12
using namespace
stopwatch
;
13
15
class
UserInterface
:
public
Process {
16
17
public
:
18
21
UserInterface
(
StopWatch
& sw);
22
23
void
init() {}
24
void
start() {}
25
27
void
show_time(
int
x,
int
y, high_resolution_clock::duration d);
28
30
void
update();
31
void
stop() {}
32
33
private
:
34
StopWatch
& _stopwatch;
35
36
};
37
38
}
stopwatch
Definition:
off.h:6
chrono
stopwatch::UserInterface
A user interface for the a StopWatch object.
Definition:
user_interface.h:15
stopwatch::StopWatch
A stop watch class, that inherits from StateMachine.
Definition:
stopwatch.h:16
elma
Generated on Thu Mar 14 2019 18:49:22 for My Elma Project by
1.8.8