The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ai::register_engine_factory< ENGINE > Class Template Reference

#include <engine.hpp>

Inheritance diagram for ai::register_engine_factory< ENGINE >:
Inheritance graph

Public Member Functions

 register_engine_factory (const std::string &name)
 
virtual engine_ptr get_new_instance (readonly_context &ai, const config &cfg)
 
virtual engine_ptr get_new_instance (readonly_context &ai, const std::string &name)
 
- Public Member Functions inherited from ai::engine_factory
 engine_factory (const std::string &name)
 
virtual ~engine_factory ()
 

Additional Inherited Members

- Public Types inherited from ai::engine_factory
typedef boost::shared_ptr
< engine_factory
factory_ptr
 
typedef std::map< std::string,
factory_ptr
factory_map
 
typedef std::pair< const
std::string, factory_ptr
factory_map_pair
 
- Static Public Member Functions inherited from ai::engine_factory
static factory_mapget_list ()
 

Detailed Description

template<class ENGINE>
class ai::register_engine_factory< ENGINE >

Definition at line 150 of file engine.hpp.

Constructor & Destructor Documentation

template<class ENGINE >
ai::register_engine_factory< ENGINE >::register_engine_factory ( const std::string name)
inline

Definition at line 152 of file engine.hpp.

Member Function Documentation

template<class ENGINE >
virtual engine_ptr ai::register_engine_factory< ENGINE >::get_new_instance ( readonly_context ai,
const config cfg 
)
inlinevirtual

Implements ai::engine_factory.

Definition at line 157 of file engine.hpp.

References e.

template<class ENGINE >
virtual engine_ptr ai::register_engine_factory< ENGINE >::get_new_instance ( readonly_context ai,
const std::string name 
)
inlinevirtual

Implements ai::engine_factory.

Definition at line 165 of file engine.hpp.


The documentation for this class was generated from the following file: