The Battle for Wesnoth  1.19.5+dev
Public Member Functions | List of all members
ai::register_candidate_action_factory< CANDIDATE_ACTION > Class Template Reference

#include <rca.hpp>

Inheritance diagram for ai::register_candidate_action_factory< CANDIDATE_ACTION >:

Public Member Functions

 register_candidate_action_factory (const std::string &name)
 
virtual candidate_action_ptr get_new_instance (rca_context &ai, const config &cfg)
 
- Public Member Functions inherited from ai::candidate_action_factory
 candidate_action_factory (const std::string &name)
 
virtual ~candidate_action_factory ()
 

Additional Inherited Members

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

Detailed Description

template<class CANDIDATE_ACTION>
class ai::register_candidate_action_factory< CANDIDATE_ACTION >

Definition at line 178 of file rca.hpp.

Constructor & Destructor Documentation

◆ register_candidate_action_factory()

template<class CANDIDATE_ACTION >
ai::register_candidate_action_factory< CANDIDATE_ACTION >::register_candidate_action_factory ( const std::string &  name)
inline

Definition at line 180 of file rca.hpp.

Member Function Documentation

◆ get_new_instance()

template<class CANDIDATE_ACTION >
virtual candidate_action_ptr ai::register_candidate_action_factory< CANDIDATE_ACTION >::get_new_instance ( rca_context ai,
const config cfg 
)
inlinevirtual

Implements ai::candidate_action_factory.

Definition at line 185 of file rca.hpp.


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