Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ActionAdapter< Adaptee, _Ty > Class Template Reference

#include <Adapter.h>

Inheritance diagram for ActionAdapter< Adaptee, _Ty >:

Adapter< _Ty > Adapter< _Ty > List of all members.

Public Member Functions

 ActionAdapter (Adaptee *anAdaptee, Action< Adaptee, _Ty > anAction)
 ActionAdapter (Adaptee *anAdaptee, Action< Adaptee, _Ty > anAction)
virtual _Ty operator() ()
virtual _Ty operator() ()

Private Attributes

Action< Adaptee, _Ty > itsAction
Action< Adaptee, _Ty > itsAction
Adaptee * itsAdaptee
Adaptee * itsAdaptee

template<class Adaptee, class _Ty = int>
class ActionAdapter< Adaptee, _Ty >


Constructor & Destructor Documentation

template<class Adaptee, class _Ty = int>
ActionAdapter< Adaptee, _Ty >::ActionAdapter Adaptee *  anAdaptee,
Action< Adaptee, _Ty >  anAction
[inline]
 

00143         : itsAdaptee(anAdaptee), itsAction(anAction)
00144         //## end ActionAdapter::ActionAdapter%894312583.initialization
00145       {
00146         //## begin ActionAdapter::ActionAdapter%894312583.body preserve=yes
00147         //## end ActionAdapter::ActionAdapter%894312583.body
00148       }

template<class Adaptee, class _Ty = int>
ActionAdapter< Adaptee, _Ty >::ActionAdapter Adaptee *  anAdaptee,
Action< Adaptee, _Ty >  anAction
[inline]
 

00143         : itsAdaptee(anAdaptee), itsAction(anAction)
00144         //## end ActionAdapter::ActionAdapter%894312583.initialization
00145       {
00146         //## begin ActionAdapter::ActionAdapter%894312583.body preserve=yes
00147         //## end ActionAdapter::ActionAdapter%894312583.body
00148       }


Member Function Documentation

template<class Adaptee, class _Ty = int>
virtual _Ty ActionAdapter< Adaptee, _Ty >::operator() void   )  [inline, virtual]
 

Implements Adapter< _Ty >.

00155       {
00156         //## begin ActionAdapter::operator()%894312584.body preserve=yes
00157         return itsAction.execute(itsAdaptee);
00158         //## end ActionAdapter::operator()%894312584.body
00159       }

template<class Adaptee, class _Ty = int>
virtual _Ty ActionAdapter< Adaptee, _Ty >::operator() void   )  [inline, virtual]
 

Implements Adapter< _Ty >.

00155       {
00156         //## begin ActionAdapter::operator()%894312584.body preserve=yes
00157         return itsAction.execute(itsAdaptee);
00158         //## end ActionAdapter::operator()%894312584.body
00159       }


Member Data Documentation

template<class Adaptee, class _Ty = int>
Action<Adaptee, _Ty> ActionAdapter< Adaptee, _Ty >::itsAction [private]
 

template<class Adaptee, class _Ty = int>
Action<Adaptee, _Ty> ActionAdapter< Adaptee, _Ty >::itsAction [private]
 

template<class Adaptee, class _Ty = int>
Adaptee* ActionAdapter< Adaptee, _Ty >::itsAdaptee [private]
 

template<class Adaptee, class _Ty = int>
Adaptee* ActionAdapter< Adaptee, _Ty >::itsAdaptee [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 15:51:46 2011 for BOSS6.5.5 by  doxygen 1.3.9.1