#include <memory>
#include <utility>
-#include <boost/function.hpp>
#include <boost/intrusive/list.hpp>
#include <xbt/signal.hpp>
/** @brief Mark that the action is now finished */
void finish();
- /** @brief Get the [state](\ref e_surf_action_state_t) of the current Action */
+ /** @brief Get the [state](\ref simgrid::surf::Action::State) of the current Action */
Action::State getState(); /**< get the state*/
- /** @brief Set the [state](\ref e_surf_action_state_t) of the current Action */
+ /** @brief Set the [state](\ref simgrid::surf::Action::State) of the current Action */
virtual void setState(Action::State state);
/** @brief Get the bound of the current Action */
void gapRemove();
protected:
- lmm_variable_t variable_;
+ lmm_variable_t variable_ = nullptr;
double lastValue_ = 0;
double lastUpdate_ = 0;
int suspended_ = 0;
bool operator==(const Resource &other) const;
/**
- * @brief Apply an event of external load event to that storage
+ * @brief Apply an event of external load event to that resource
*
* @param event What happened
* @param value [TODO]