The Battle for Wesnoth  1.19.0-dev
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 >:

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 std::shared_ptr< goal_factoryfactory_ptr
typedef std::map< std::string, factory_ptrfactory_map
typedef std::pair< const std::string, factory_ptrfactory_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 181 of file goal.hpp.

Constructor & Destructor Documentation

◆ register_goal_factory()

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

Definition at line 183 of file goal.hpp.

Member Function Documentation

◆ get_new_instance()

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

Implements ai::goal_factory.

Definition at line 188 of file goal.hpp.

References a.

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