Public Member Functions | Private Member Functions | Private Attributes

ai::holder Class Reference

Base class that holds the AI and current AI parameters. More...

#include <manager.hpp>

Collaboration diagram for ai::holder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 holder (side_number side, const config &cfg)
virtual ~holder ()
interfaceget_ai_ref ()
const std::string describe_ai ()
void modify_ai_config_old (const config::const_child_itors &ai_parameters)
config to_config () const
void modify_ai (const config &cfg)
const std::string get_ai_overview ()
const std::string get_ai_structure ()
const std::string get_ai_identifier () const

Private Member Functions

void init (side_number side)

Private Attributes

composite_ai_ptr ai_
side_contextside_context_
readonly_contextreadonly_context_
readwrite_contextreadwrite_context_
default_ai_contextdefault_ai_context_
side_number side_
config cfg_

Detailed Description

Base class that holds the AI and current AI parameters.

It is an implementation detail.

Todo:
1.9 move it out of public view

Definition at line 53 of file manager.hpp.


Constructor & Destructor Documentation

ai::holder::holder ( side_number  side,
const config cfg 
)
virtual ai::holder::~holder (  )  [virtual]

Member Function Documentation

const std::string ai::holder::describe_ai (  ) 
const std::string ai::holder::get_ai_identifier (  )  const
const std::string ai::holder::get_ai_overview (  ) 
interface& ai::holder::get_ai_ref (  ) 
const std::string ai::holder::get_ai_structure (  ) 
void ai::holder::init ( side_number  side  )  [private]
void ai::holder::modify_ai ( const config cfg  ) 
void ai::holder::modify_ai_config_old ( const config::const_child_itors ai_parameters  ) 
config ai::holder::to_config (  )  const

Member Data Documentation

Definition at line 82 of file manager.hpp.

Definition at line 88 of file manager.hpp.

Definition at line 86 of file manager.hpp.

Definition at line 84 of file manager.hpp.

Definition at line 85 of file manager.hpp.

Definition at line 87 of file manager.hpp.

Definition at line 83 of file manager.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:02 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs