The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Typedefs
manager.hpp File Reference

Managing the AIs lifecycle - headers. More...

#include "config.hpp"
#include "global.hpp"
#include "ai/game_info.hpp"
#include <boost/shared_ptr.hpp>
#include <deque>
#include <map>
#include <stack>
#include <string>
Include dependency graph for manager.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::holder
 Base class that holds the AI and current AI parameters. More...
 
class  ai::command_history_item
 AI Command History Item. More...
 
class  ai::manager
 Class that manages AIs for all sides and manages AI redeployment. More...
 

Namespaces

 ai
 A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.
 
 events
 Handling of system events.
 

Typedefs

typedef boost::shared_ptr
< ai_composite > 
ai::composite_ai_ptr
 

Detailed Description

Managing the AIs lifecycle - headers.

Todo:

1.9 Refactor history handling and internal commands.

1.9 AI Interface command to clear the history.

Definition in file manager.hpp.