The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 >:
Inheritance graph

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_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::candidate_action_factory
static factory_mapget_list ()
 

Detailed Description

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

Definition at line 182 of file rca.hpp.

Constructor & Destructor Documentation

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

Definition at line 184 of file rca.hpp.

Member Function Documentation

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 189 of file rca.hpp.


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