- /**
- * @brief Action constructor
- *
- * @param model The Model associated to this Action
- * @param cost The cost of the Action
- * @param failed If the action is impossible (e.g.: execute something on a switched off workstation)
- */
- Action(ModelPtr model, double cost, bool failed);
-
- /**
- * @brief Action constructor
- *
- * @param model The Model associated to this Action
- * @param cost The cost of the Action
- * @param failed If the action is impossible (e.g.: execute something on a switched off workstation)
- * @param var The lmm variable associated to this Action if it is part of a LMM component
- */
- Action(ModelPtr model, double cost, bool failed, lmm_variable_t var);
-
- /**
- * @brief Action destructor
- */
- virtual ~Action();
-
- /**
- * @brief Finish the action
- */
- void finish();
-
- /**
- * @brief Get the [state](\ref e_surf_action_state_t) of the current Action
- *
- * @return The state of the current Action
- */
- e_surf_action_state_t getState(); /**< get the state*/
-
- /**
- * @brief Set the [state](\ref e_surf_action_state_t) of the current Action
- *
- * @param state The new state of the current Action
- */
- virtual void setState(e_surf_action_state_t state);
-
- /**
- * @brief Get the bound of the current Action
- *
- * @return The bound of the current Action
- */
- double getBound();
-
- /**
- * @brief Set the bound of the current Action
- *
- * @param bound The new bound of the current Action
- */
- void setBound(double bound);
-
- /**
- * @brief Get the start time of the current action
- *
- * @return The start time of the current action
- */
- double getStartTime();
-
- /**
- * @brief Get the finish time of the current action
- *
- * @return The finish time of the current action
- */
- double getFinishTime();