|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
SURF storage model interface class.
A model is an object which handle the interactions between its Resources and its Actions
#include <storage_interface.hpp>
Public Member Functions | |
| StorageModel () | |
| ~StorageModel () | |
| virtual Storage * | createStorage (const char *id, const char *type_id, const char *content_name, const char *content_type, const char *attach)=0 |
Public Member Functions inherited from simgrid::surf::Model | |
| Model () | |
| virtual | ~Model () |
| virtual ActionList * | getReadyActionSet () |
| Get the set of actions in ready state. More... | |
| virtual ActionList * | getRunningActionSet () |
| Get the set of actions in running state. More... | |
| virtual ActionList * | getFailedActionSet () |
| Get the set of actions in failed state. More... | |
| virtual ActionList * | getDoneActionSet () |
| Get the set of actions in done state. More... | |
| virtual ActionLmmListPtr | getModifiedSet () |
| Get the set of modified actions. More... | |
| lmm_system_t | getMaxminSystem () |
| Get the maxmin system of the current Model. More... | |
| e_UM_t | getUpdateMechanism () |
| Get the update mechanism of the current Model. More... | |
| xbt_heap_t | getActionHeap () |
| Get Action heap. More... | |
| virtual double | nextOccuringEvent (double now) |
| Share the resources between the actions. More... | |
| virtual double | nextOccuringEventLazy (double now) |
| virtual double | nextOccuringEventFull (double now) |
| virtual void | updateActionsState (double now, double delta) |
| Update action to the current time. More... | |
| virtual void | updateActionsStateLazy (double now, double delta) |
| virtual void | updateActionsStateFull (double now, double delta) |
| virtual bool | nextOccuringEventIsIdempotent () |
| Returns whether this model have an idempotent shareResource() More... | |
Public Attributes | |
| std::vector< Storage * > | p_storageList |
Additional Inherited Members | |
Protected Attributes inherited from simgrid::surf::Model | |
| ActionLmmListPtr | modifiedSet_ |
| lmm_system_t | maxminSystem_ = nullptr |
| e_UM_t | updateMechanism_ = UM_UNDEFINED |
| bool | selectiveUpdate_ |
| xbt_heap_t | actionHeap_ |
| simgrid::surf::StorageModel::StorageModel | ( | ) |
| simgrid::surf::StorageModel::~StorageModel | ( | ) |
|
pure virtual |
Implemented in simgrid::surf::StorageN11Model.
| std::vector<Storage*> simgrid::surf::StorageModel::p_storageList |