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_goal_factory< GOAL > Class Template Reference

#include <goal.hpp>

Inheritance diagram for ai::register_goal_factory< GOAL >:
Inheritance graph

Public Member Functions

 register_goal_factory (const std::string &name)
 
virtual goal_ptr get_new_instance (readonly_context &context, const config &cfg)
 
- Public Member Functions inherited from ai::goal_factory
 goal_factory (const std::string &name)
 
virtual ~goal_factory ()
 

Additional Inherited Members

- Public Types inherited from ai::goal_factory
typedef boost::shared_ptr
< goal_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::goal_factory
static factory_mapget_list ()
 

Detailed Description

template<class GOAL>
class ai::register_goal_factory< GOAL >

Definition at line 212 of file goal.hpp.

Constructor & Destructor Documentation

template<class GOAL >
ai::register_goal_factory< GOAL >::register_goal_factory ( const std::string name)
inline

Definition at line 214 of file goal.hpp.

Member Function Documentation

template<class GOAL >
virtual goal_ptr ai::register_goal_factory< GOAL >::get_new_instance ( readonly_context context,
const config cfg 
)
inlinevirtual

Implements ai::goal_factory.

Definition at line 219 of file goal.hpp.


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