The Battle for Wesnoth  1.15.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 >:
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 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 201 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)
inline

Definition at line 203 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 
)
inlinevirtual

Implements ai::goal_factory.

Definition at line 208 of file goal.hpp.

References a.


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