BasePolicy< T > Class Template Reference

This class represents all of the policies in this sub system. More...

#include <Policies.hpp>

Collaboration diagram for BasePolicy< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BasePolicy (T &oNewResponsible)
 The constructor of BasePolicy.
virtual void operator() ()=0
 Exceutes the operation that the policy performs.

Protected Attributes

T & oResponsible
 The object that this policy is responsible on.

Detailed Description

template<class T>
class BasePolicy< T >

This class represents all of the policies in this sub system.

Each policy is responsible to only one object and has one operation that manipulates it.

Author:
Omer Katz
Date:
25/03/2006
Since:
1.0 Revision

Definition at line 13 of file Policies.hpp.


Constructor & Destructor Documentation

template<class T>
BasePolicy< T >::BasePolicy T &  oNewResponsible  )  [inline]
 

The constructor of BasePolicy.

Author:
Omer Katz
Date:
25/03/2006
Since:
1.0 Revision

Definition at line 30 of file Policies.hpp.


Member Function Documentation

template<class T>
virtual void BasePolicy< T >::operator()  )  [pure virtual]
 

Exceutes the operation that the policy performs.

Every policy must implant it.

Author:
Omer Katz
Date:
25/03/2006
Since:
1.0 Revision

Implemented in EventsSystem::Policies::EventDestructionPolicy.


Member Data Documentation

template<class T>
T& BasePolicy< T >::oResponsible [protected]
 

The object that this policy is responsible on.

Author:
Omer Katz
Date:
25/03/2006
Since:
1.0 Revision

Definition at line 22 of file Policies.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Apr 13 12:15:13 2006 for Events System by  doxygen 1.4.6-NO