forked from snakster/cpp.react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.cpp
More file actions
40 lines (29 loc) · 768 Bytes
/
Main.cpp
File metadata and controls
40 lines (29 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright Sebastian Jeckel 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//#define REACT_ENABLE_LOGGING
#include "react/Domain.h"
#include "react/Signal.h"
#include "react/Event.h"
#include "react/Algorithm.h"
#include "tbb/tick_count.h"
#include <chrono>
using namespace std;
using namespace react;
void testme()
{
// Note: This project exists as a sandbox where I occasionally stage new examples.
// Currently it's empty.
}
int main()
{
testme();
#ifdef REACT_ENABLE_LOGGING
std::ofstream logfile;
logfile.open("log.txt");
D::Log().Write(logfile);
logfile.close();
#endif
return 0;
}