A replay scenario. More...
#include <replay.h>
Data Fields | |
char * | title |
name of replay scenario. More... | |
struct replay_moment * | mom_first |
The list of replay moments. More... | |
struct replay_moment * | mom_last |
The last element in list of replay moments. | |
struct replay_range * | range_list |
List of matching answers. More... | |
A replay scenario.
char* replay_scenario::title |
name of replay scenario.
malloced string.
Referenced by make_scenario(), and replay_scenario_delete().
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().
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().