SimGrid  3.16
Versatile Simulation of Distributed Systems
SURF callbacks

Detailed Description

Describes how to use the SURF callbacks.

Variables

simgrid::xbt::signal< void(StorageImpl *)> simgrid::surf::storageCreatedCallbacks
 Callbacks handler which emit the callbacks after Storage creation *. More...
 
simgrid::xbt::signal< void(StorageImpl *)> simgrid::surf::storageDestructedCallbacks
 Callbacks handler which emit the callbacks after Storage destruction *. More...
 
simgrid::xbt::signal< void(StorageImpl *, int, int)> simgrid::surf::storageStateChangedCallbacks
 Callbacks handler which emit the callbacks after Storage State changed *. More...
 
simgrid::xbt::signal< void(StorageAction *, Action::State, Action::State)> simgrid::surf::storageActionStateChangedCallbacks
 Callbacks handler which emit the callbacks after StorageAction State changed *. More...
 

Variable Documentation

◆ storageCreatedCallbacks

simgrid::xbt::signal< void(simgrid::surf::StorageImpl *)> simgrid::surf::storageCreatedCallbacks

Callbacks handler which emit the callbacks after Storage creation *.

Callback functions have the following signature: void(Storage*)

◆ storageDestructedCallbacks

simgrid::xbt::signal< void(simgrid::surf::StorageImpl *)> simgrid::surf::storageDestructedCallbacks

Callbacks handler which emit the callbacks after Storage destruction *.

Callback functions have the following signature: void(StoragePtr)

◆ storageStateChangedCallbacks

simgrid::xbt::signal< void(simgrid::surf::StorageImpl *, int, int)> simgrid::surf::storageStateChangedCallbacks

Callbacks handler which emit the callbacks after Storage State changed *.

Callback functions have the following signature: void(StorageAction *action, int previouslyOn, int currentlyOn)

◆ storageActionStateChangedCallbacks

Callbacks handler which emit the callbacks after StorageAction State changed *.

Callback functions have the following signature: void(StorageAction *action, simgrid::surf::Action::State old, simgrid::surf::Action::State current)