aspect::Aspect_Has_Access_To_Owner< Owner > Class Template Reference

Base class for aspects that require access to their owner. More...

#include <Aspect.hpp>

Inheritance diagram for aspect::Aspect_Has_Access_To_Owner< Owner >:

ACT::Supplied_Service_Aspect< Service< Supplied_Service_Aspect > >

List of all members.

Public Member Functions

 Aspect_Has_Access_To_Owner ()
 Default constructor.
Owner * owner () const
 Accessor to owner.
void set_owner (Owner *x)
 Owner must be set after construction, because 'this' isn't known before the aspect instance is constructed.


Detailed Description

template<class Owner>
class aspect::Aspect_Has_Access_To_Owner< Owner >

Base class for aspects that require access to their owner.

Not all aspects require access to their owner class. Universally, null aspects don't, because the operations they define don't do anything. Access to an owner requires storing a pointer, so a null aspect couldn't have one anyway, since a null aspect must not define storage (otherwise it's not null).


Constructor & Destructor Documentation

template<class Owner>
aspect::Aspect_Has_Access_To_Owner< Owner >::Aspect_Has_Access_To_Owner (  )  [inline]

Default constructor.


Member Function Documentation

template<class Owner>
Owner* aspect::Aspect_Has_Access_To_Owner< Owner >::owner (  )  const [inline]

Accessor to owner.

template<class Owner>
void aspect::Aspect_Has_Access_To_Owner< Owner >::set_owner ( Owner *  x  )  [inline]

Owner must be set after construction, because 'this' isn't known before the aspect instance is constructed.


The documentation for this class was generated from the following file:
Generated on Thu Mar 6 18:25:09 2008 for Gnash by  doxygen 1.5.4