The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Typedefs | Functions
component.hpp File Reference

A component of the AI framework. More...

#include <map>
#include <memory>
#include <string>
#include <vector>
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 std::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

◆ operator<<()

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

Definition at line 260 of file component.cpp.

References e.