Public Types | Public Member Functions | Static Public Member Functions

ai::lua_aspect_factory Class Reference

#include <aspect.hpp>

Inheritance diagram for ai::lua_aspect_factory:
Inheritance graph
[legend]

List of all members.

Public Types

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

Public Member Functions

virtual aspect_ptr get_new_instance (readonly_context &context, const config &cfg, const std::string &id, boost::shared_ptr< lua_ai_context > &l_ctx)=0
 lua_aspect_factory (const std::string &name)
virtual ~lua_aspect_factory ()

Static Public Member Functions

static factory_mapget_list ()

Detailed Description

Definition at line 495 of file aspect.hpp.


Member Typedef Documentation

typedef std::map<std::string, factory_ptr> ai::lua_aspect_factory::factory_map

Definition at line 498 of file aspect.hpp.

typedef std::pair<const std::string, factory_ptr> ai::lua_aspect_factory::factory_map_pair

Definition at line 499 of file aspect.hpp.

Definition at line 497 of file aspect.hpp.


Constructor & Destructor Documentation

ai::lua_aspect_factory::lua_aspect_factory ( const std::string &  name  )  [inline]

Definition at line 511 of file aspect.hpp.

References get_list().

Here is the call graph for this function:

virtual ai::lua_aspect_factory::~lua_aspect_factory (  )  [inline, virtual]

Definition at line 517 of file aspect.hpp.


Member Function Documentation

static factory_map& ai::lua_aspect_factory::get_list (  )  [inline, static]

Definition at line 501 of file aspect.hpp.

Referenced by lua_aspect_factory().

Here is the caller graph for this function:

virtual aspect_ptr ai::lua_aspect_factory::get_new_instance ( readonly_context context,
const config cfg,
const std::string &  id,
boost::shared_ptr< lua_ai_context > &  l_ctx 
) [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:22 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs