Public Member Functions | Protected Attributes

ai::typesafe_known_aspect< T > Class Template Reference

#include <aspect.hpp>

Inheritance diagram for ai::typesafe_known_aspect< T >:
Inheritance graph
[legend]
Collaboration diagram for ai::typesafe_known_aspect< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 typesafe_known_aspect (const std::string &name, boost::shared_ptr< typesafe_aspect< T > > &where, aspect_map &aspects)
void set (aspect_ptr a)
virtual void add_facet (const config &cfg)

Protected Attributes

boost::shared_ptr
< typesafe_aspect< T > > & 
where_
aspect_mapaspects_

Detailed Description

template<typename T>
class ai::typesafe_known_aspect< T >

Definition at line 221 of file aspect.hpp.


Constructor & Destructor Documentation

template<typename T >
ai::typesafe_known_aspect< T >::typesafe_known_aspect ( const std::string &  name,
boost::shared_ptr< typesafe_aspect< T > > &  where,
aspect_map aspects 
) [inline]

Definition at line 223 of file aspect.hpp.


Member Function Documentation

template<typename T >
virtual void ai::typesafe_known_aspect< T >::add_facet ( const config cfg  )  [inline, virtual]

Implements ai::known_aspect.

Definition at line 240 of file aspect.hpp.

References debug, ai::known_aspect::get_name(), ai::aspect::log(), LOG_STREAM, and ai::typesafe_known_aspect< T >::where_.

Here is the call graph for this function:

template<typename T >
void ai::typesafe_known_aspect< T >::set ( aspect_ptr  a  )  [inline, virtual]

Implements ai::known_aspect.

Definition at line 228 of file aspect.hpp.

References ai::typesafe_known_aspect< T >::aspects_, debug, ai::known_aspect::get_name(), ai::aspect::log(), LOG_STREAM, and ai::typesafe_known_aspect< T >::where_.

Here is the call graph for this function:


Member Data Documentation

template<typename T >
aspect_map& ai::typesafe_known_aspect< T >::aspects_ [protected]

Definition at line 254 of file aspect.hpp.

Referenced by ai::typesafe_known_aspect< T >::set().

template<typename T >
boost::shared_ptr<typesafe_aspect <T> >& ai::typesafe_known_aspect< T >::where_ [protected]

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:21 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs