SimGrid  3.11
Versatile Simulation of Distributed Systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
StorageModel Class Referenceabstract

SURF storage model interface class. More...

#include <storage_interface.hpp>

Inheritance diagram for StorageModel:
Model

Public Member Functions

 StorageModel ()
 The storage model constructor.
 
 ~StorageModel ()
 The Storange model destructor.
 
virtual StoragePtr createStorage (const char *id, const char *type_id, const char *content_name, const char *content_type, xbt_dict_t properties, const char *attach)=0
 Create a Storage. More...
 
- Public Member Functions inherited from Model
 Model (const char *name)
 Model constructor. More...
 
virtual ~Model ()
 Model destructor.
 
const char * getName ()
 Get the name of the current Model. More...
 
virtual ActionListPtr getReadyActionSet ()
 Get the set of actions in ready state. More...
 
virtual ActionListPtr getRunningActionSet ()
 Get the set of actions in running state. More...
 
virtual ActionListPtr getFailedActionSet ()
 Get the set of actions in failed state. More...
 
virtual ActionListPtr 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 shareResources (double now)
 share the resources More...
 
virtual void updateActionsState (double now, double delta)
 Update state of actions. More...
 

Detailed Description

SURF storage model interface class.

A model is an object which handle the interactions between its Resources and its Actions

Member Function Documentation

virtual StoragePtr StorageModel::createStorage ( const char *  id,
const char *  type_id,
const char *  content_name,
const char *  content_type,
xbt_dict_t  properties,
const char *  attach 
)
pure virtual

Create a Storage.

Parameters
id[description]
type_id[description]
content_name[description]
content_type[description]
properties[description]
attach[description]
Returns
The created Storage

The documentation for this class was generated from the following files: