SimGrid  3.21
Versatile Simulation of Distributed Systems
replay.hpp File Reference
#include <xbt/misc.h>
#include <fstream>
#include <functional>
#include <queue>
#include <unordered_map>

Namespaces

 simgrid
 
 simgrid::xbt
 

Typedefs

typedef std::vector< std::string > simgrid::xbt::ReplayAction
 
typedef std::function< void(simgrid::xbt::ReplayAction &)> action_fun
 

Functions

int simgrid::xbt::replay_runner (int argc, char *argv[])
 
void xbt_replay_action_register (const char *action_name, action_fun function)
 
action_fun xbt_replay_action_get (const char *action_name)
 

Variables

std::ifstream * simgrid::xbt::action_fs
 

Typedef Documentation

◆ action_fun

typedef std::function<void(simgrid::xbt::ReplayAction&)> action_fun

Function Documentation

◆ xbt_replay_action_register()

void xbt_replay_action_register ( const char *  action_name,
action_fun  function 
)

◆ xbt_replay_action_get()

action_fun xbt_replay_action_get ( const char *  action_name)