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

A component of the AI framework. More...

#include <iostream>
#include <map>
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
Include dependency graph for component.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ai::path_element
 
class  ai::component
 
class  ai::component_manager
 

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.
 

Typedefs

typedef boost::shared_ptr
< base_property_handler > 
ai::property_handler_ptr
 
typedef std::map< std::string,
property_handler_ptr > 
ai::property_handler_map
 

Functions

std::ostream & operator<< (std::ostream &o, const ai::path_element &e)
 

Detailed Description

A component of the AI framework.

Definition in file component.hpp.

Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const ai::path_element e 
)