X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/62cbd47a6b39a36431539d60f0f0efe81d228e4b..6d8b8ade25d24e33e57eb02b443f567a0733c664:/src/surf/host_interface.hpp diff --git a/src/surf/host_interface.hpp b/src/surf/host_interface.hpp index 832ef5e8a7..c6c144d231 100644 --- a/src/surf/host_interface.hpp +++ b/src/surf/host_interface.hpp @@ -254,6 +254,8 @@ public: virtual int fileMove(surf_file_t fd, const char* fullpath); bool isUsed() override {DIE_IMPOSSIBLE;} // FIXME: Host should not be a Resource + void updateState(tmgr_trace_event_t event_type, double value, double date) override + {THROW_IMPOSSIBLE;} // FIXME: Host should not be a Resource public: xbt_dynar_t p_storage; @@ -275,41 +277,6 @@ private: s_vm_params_t p_params; }; -/********** - * Action * - **********/ - -/** @ingroup SURF_host_interface - * @brief SURF host action interface class - */ -class HostAction : public Action { -public: - static simgrid::surf::signal onStateChange; - - /** - * @brief HostAction constructor - * - * @param model The HostModel associated to this HostAction - * @param cost The cost of this HostAction in [TODO] - * @param failed [description] - */ - HostAction(simgrid::surf::Model *model, double cost, bool failed) - : Action(model, cost, failed) {} - - /** - * @brief HostAction constructor - * - * @param model The HostModel associated to this HostAction - * @param cost The cost of this HostAction in [TODO] - * @param failed [description] - * @param var The lmm variable associated to this StorageAction if it is part of a LMM component - */ - HostAction(simgrid::surf::Model *model, double cost, bool failed, lmm_variable_t var) - : Action(model, cost, failed, var) {} - - void setState(e_surf_action_state_t state); -}; - } }