X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d83790fb256eb80359f354854fb553e36252272..4cd03d236d21b16b2607d67b146cc44b402e7bdd:/include/simgrid/jedule/jedule_events.hpp diff --git a/include/simgrid/jedule/jedule_events.hpp b/include/simgrid/jedule/jedule_events.hpp index 1a4cd5ae70..0cf00dbfa9 100644 --- a/include/simgrid/jedule/jedule_events.hpp +++ b/include/simgrid/jedule/jedule_events.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2012, 2014-2015. The SimGrid Team. +/* Copyright (c) 2010-2012, 2014-2016. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -20,12 +20,9 @@ namespace simgrid { namespace jedule{ XBT_PUBLIC_CLASS Event{ - private: - virtual ~Event()=default; public: - Event(std::string name, double start_time, double end_time, std::string type) - : name(name), start_time(start_time), end_time(end_time), type(type){} - void deleteEvent(); + Event(std::string name, double start_time, double end_time, std::string type); + ~Event(); void addCharacteristic(char *characteristic); void addResources(std::vector *host_selection); void addInfo(char *key, char *value); @@ -36,7 +33,7 @@ XBT_PUBLIC_CLASS Event{ double start_time; double end_time; std::string type; - std::vector resource_subsets; + std::vector *resource_subsets; std::vector characteristics_list; /* just a list of names (strings) */ std::unordered_map info_map; /* key/value pairs */ };