The Battle for Wesnoth  1.19.6+dev
Public Member Functions | List of all members
ai::register_stage_factory< STAGE > Class Template Reference

#include <stage.hpp>

Inheritance diagram for ai::register_stage_factory< STAGE >:

Public Member Functions

 register_stage_factory (const std::string &name)
 
virtual stage_ptr get_new_instance (ai_context &context, const config &cfg)
 
- Public Member Functions inherited from ai::stage_factory
 stage_factory (const std::string &name)
 
virtual ~stage_factory ()
 

Additional Inherited Members

- Public Types inherited from ai::stage_factory
typedef std::shared_ptr< stage_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::stage_factory
static factory_mapget_list ()
 

Detailed Description

template<class STAGE>
class ai::register_stage_factory< STAGE >

Definition at line 119 of file stage.hpp.

Constructor & Destructor Documentation

◆ register_stage_factory()

template<class STAGE >
ai::register_stage_factory< STAGE >::register_stage_factory ( const std::string &  name)
inline

Definition at line 121 of file stage.hpp.

Member Function Documentation

◆ get_new_instance()

template<class STAGE >
virtual stage_ptr ai::register_stage_factory< STAGE >::get_new_instance ( ai_context context,
const config cfg 
)
inlinevirtual

Implements ai::stage_factory.

Definition at line 126 of file stage.hpp.


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