1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file src/monitor/Aesalon.cpp
12 #include "monitor/Coordinator.h"
14 #include "storage/RTree.h"
17 int main(int argc
, char *argv
[]) {
18 Monitor::Coordinator
coordinator(argv
);
20 return coordinator
.returnValue();
25 int main(int argc
, char *argv
[]) {
26 typedef Storage::RTree
<double, int, 1, 5, 2> RTree
;
32 b
.setRange(RTree::Range(77.7, 79.2), 0);
34 b
.setRange(RTree::Range(64.9, 67), 0);
36 b
.setRange(RTree::Range(76.3, 78.9), 0);
38 b
.setRange(RTree::Range(21.1, 27.9), 0);
40 b
.setRange(RTree::Range(86.2, 88.5), 0);
42 b
.setRange(RTree::Range(2.2, 8), 0);
44 b
.setRange(RTree::Range(1.1, 5.3), 0);
46 b
.setRange(RTree::Range(78.4, 82.1), 0);
48 b
.setRange(RTree::Range(41.3, 43.9), 0);
50 b
.setRange(RTree::Range(86.2, 93.2), 0);
53 b
.setRange(RTree::Range(21.1, 27.9), 0);
55 b
.setRange(RTree::Range(2.2, 8), 0);
57 b
.setRange(RTree::Range(1.1, 5.3), 0);
60 class Processor
: public RTree::SearchProcessor
{
62 virtual bool process(const RTree::Bound
&bound
, int value
) {
63 Message(Debug
, "****\t\tFound value " << value
);
70 b
.setRange(RTree::Range(0.0, 8.0), 0);