Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unneeded extern "C".
[simgrid.git] / include / simgrid / jedule / jedule.hpp
1 /* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef JEDULE_HPP_
7 #define JEDULE_HPP_
8
9 #include <simgrid/jedule/jedule_events.hpp>
10 #include <simgrid/jedule/jedule_platform.hpp>
11 #include <simgrid_config.h>
12
13 #include <cstdio>
14
15 #if SIMGRID_HAVE_JEDULE
16
17 namespace simgrid {
18 namespace jedule{
19
20 class XBT_PUBLIC Jedule {
21 public:
22   Jedule()=default;
23   ~Jedule();
24   std::vector<Event *> event_set;
25   Container* root_container = nullptr;
26   std::unordered_map<char*, char*> meta_info;
27   void addMetaInfo(char* key, char* value);
28   void cleanupOutput();
29   void writeOutput(FILE *file);
30 };
31
32 }
33 }
34
35 typedef simgrid::jedule::Jedule *jedule_t;
36 #endif
37
38 #endif /* JEDULE_HPP_ */