Revision 3232c4a7

View differences:

scout/libscout/src/BehaviorList.cpp
1
/**
2
 ******************************************************************************
3
 * WARNING: THIS IS AN AUTOGENERATED FILE!
4
 *
5
 * Editing this file is USELESS. It will be overwritten during the build.
6
 * To properly edit this file, edit its corresponding *.template.* file, which
7
 * a script run by CMake uses to generate this file.
8
 *
9
 * This file was generated via rules in src/generate_behavior_lists.py.
10
 *
11
 * Please see that file for a description of syntax and procedure for
12
 * creating auto-generated files.
13
 *
14
 * THIS WARNING IS LONG TO MAKE SURE IT GETS YOUR ATTENTION!
15
 * THANK YOU.
16
 *****************************************************************************
17
 */
18

  
19
#include "BehaviorList.h"
20

  
21
BehaviorList::BehaviorList()
22
{
23
  behavior_list.push_back(behavior<pause_scout>);
24
  behavior_list.push_back(behavior<danger_marking>);
25
  behavior_list.push_back(behavior<draw_ccw_circle>);
26
  behavior_list.push_back(behavior<draw_cw_circle>);
27
  behavior_list.push_back(behavior<line_follow>);
28
  behavior_list.push_back(behavior<maze_solve>);
29
  behavior_list.push_back(behavior<maze_solve_simple>);
30
  behavior_list.push_back(behavior<navigationMap>);
31
  behavior_list.push_back(behavior<Odometry>);
32
  behavior_list.push_back(behavior<Odometry_new>);
33
  behavior_list.push_back(behavior<Scheduler>);
34
  behavior_list.push_back(behavior<smart_runaround>);
35
  behavior_list.push_back(behavior<WH_Robot>);
36
  behavior_list.push_back(behavior<wl_test>);
37
  return;
38
}
39

  
40
BehaviorList::~BehaviorList()
41
{
42
  while(!behavior_list.empty())
43
    behavior_list.pop_back();
44
}

Also available in: Unified diff