- /**
- * @brief [brief description]
- * @details [long description]
- *
- * @param params [description]
- */
- void getParams(ws_params_t params);
-
- /**
- * @brief [brief description]
- * @details [long description]
- *
- * @param params [description]
- */
- void setParams(ws_params_t params);
- s_ws_params_t p_params;
-};
-
-/**********
- * Action *
- **********/
-
-/** @ingroup SURF_host_interface
- * @brief SURF host action interface class
- */
-class HostAction : public Action {
-public:
- /**
- * @brief HostAction constructor
- *
- * @param model The HostModel associated to this HostAction
- * @param cost The cost of this HostAction in [TODO]
- * @param failed [description]
- */
- HostAction(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(Model *model, double cost, bool failed, lmm_variable_t var)
- : Action(model, cost, failed, var) {}
-
- void setState(e_surf_action_state_t state);
+ /** @brief Retrieve a copy of the parameters of that VM/PM
+ * @details The ramsize and overcommit fields are used on the PM too */
+ void getParams(vm_params_t params);
+ /** @brief Sets the params of that VM/PM */
+ void setParams(vm_params_t params);
+ simgrid::s4u::Host* getHost() { return p_host; }
+private:
+ s_vm_params_t p_params;