replay_scenario Struct Reference

A replay scenario. More...

#include <replay.h>

Data Fields

char * title
 name of replay scenario. More...
 
struct replay_momentmom_first
 The list of replay moments. More...
 
struct replay_momentmom_last
 The last element in list of replay moments.
 
struct replay_rangerange_list
 List of matching answers. More...
 

Detailed Description

A replay scenario.

Field Documentation

◆ title

char* replay_scenario::title

name of replay scenario.

malloced string.

Referenced by make_scenario(), and replay_scenario_delete().

◆ mom_first

struct replay_moment* replay_scenario::mom_first

The list of replay moments.

Linked list. Time increases in list.

Referenced by advance_moment(), replay_scenario_delete(), and run_scenario().

◆ range_list

struct replay_range* replay_scenario::range_list

List of matching answers.

This is to ease replay scenario creation. It lists queries (to the network) and what answer should be returned. The matching answers are valid for a range of time steps. So: timestep, parts of query, destination --> answer.

Referenced by pending_find_match(), and replay_scenario_delete().


The documentation for this struct was generated from the following file: