The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ai::register_lua_aspect_factory< ASPECT > Class Template Reference

#include <aspect.hpp>

Inheritance diagram for ai::register_lua_aspect_factory< ASPECT >:
Inheritance graph

Public Member Functions

 register_lua_aspect_factory (const std::string &name)
 
aspect_ptr get_new_instance (readonly_context &context, const config &cfg, const std::string &id, boost::shared_ptr< lua_ai_context > &l_ctx)
 
- Public Member Functions inherited from ai::lua_aspect_factory
 lua_aspect_factory (const std::string &name)
 
virtual ~lua_aspect_factory ()
 

Additional Inherited Members

- Public Types inherited from ai::lua_aspect_factory
typedef boost::shared_ptr
< lua_aspect_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::lua_aspect_factory
static factory_mapget_list ()
 

Detailed Description

template<class ASPECT>
class ai::register_lua_aspect_factory< ASPECT >

Definition at line 536 of file aspect.hpp.

Constructor & Destructor Documentation

template<class ASPECT >
ai::register_lua_aspect_factory< ASPECT >::register_lua_aspect_factory ( const std::string name)
inline

Definition at line 538 of file aspect.hpp.

Member Function Documentation

template<class ASPECT >
aspect_ptr ai::register_lua_aspect_factory< ASPECT >::get_new_instance ( readonly_context context,
const config cfg,
const std::string id,
boost::shared_ptr< lua_ai_context > &  l_ctx 
)
inlinevirtual

Implements ai::lua_aspect_factory.

Definition at line 543 of file aspect.hpp.


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