1 /* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved. */
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. */
9 #include <simgrid/jedule/jedule_events.hpp>
10 #include <simgrid/jedule/jedule_platform.hpp>
17 class XBT_PUBLIC Jedule {
20 Jedule(const Jedule&) = delete;
21 Jedule& operator=(const Jedule&) = delete;
23 std::vector<Event*> event_set_;
24 Container* root_container_ = nullptr;
25 void add_meta_info(char* key, char* value);
26 void cleanup_output();
27 void write_output(FILE* file);
30 XBT_ATTRIB_DEPRECATED_v323("Please use Jedule::add_meta_info()") void addMetaInfo(char* key, char* value)
32 add_meta_info(key, value);
34 XBT_ATTRIB_DEPRECATED_v323("Please use Jedule::cleanup_output()") void cleanupOutput() { cleanup_output(); }
35 XBT_ATTRIB_DEPRECATED_v323("Please use Jedule::write_output()") void writeOutput(FILE* file) { write_output(file); }
38 std::unordered_map<char*, char*> meta_info_;
44 typedef simgrid::jedule::Jedule *jedule_t;
46 #endif /* JEDULE_HPP_ */