1 /* Copyright (c) 2010-2018. 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 {
21 std::vector<Event*> event_set_;
22 Container* root_container_ = nullptr;
23 void add_meta_info(char* key, char* value);
24 void cleanup_output();
25 void write_output(FILE* file);
28 XBT_ATTRIB_DEPRECATED_v323("Please use Jedule::add_meta_info()") void addMetaInfo(char* key, char* value)
30 add_meta_info(key, value);
32 XBT_ATTRIB_DEPRECATED_v323("Please use Jedule::cleanup_output()") void cleanupOutput() { cleanup_output(); }
33 XBT_ATTRIB_DEPRECATED_v323("Please use Jedule::write_output()") void writeOutput(FILE* file) { write_output(file); }
36 std::unordered_map<char*, char*> meta_info_;
42 typedef simgrid::jedule::Jedule *jedule_t;
44 #endif /* JEDULE_HPP_ */