X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7630a950a6b865fcc195c58e39e6c3cfa550ccb..a23283368258c196be2e66730a7d691f313ef315:/include/simgrid/Host.hpp?ds=inline diff --git a/include/simgrid/Host.hpp b/include/simgrid/Host.hpp index fb2a5090f7..42fa5ec1da 100644 --- a/include/simgrid/Host.hpp +++ b/include/simgrid/Host.hpp @@ -38,9 +38,10 @@ public: Host(std::string const& name); ~Host(); simgrid::xbt::string const& getName() const { return name_; } - void on(); - void off(); - e_surf_resource_state_t getState(); + void turnOn(); + void turnOff(); + bool isOn(); + bool isOff(); xbt_dict_t getProperties(); xbt_swag_t getProcessList(); double getCurrentPowerPeak();