Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

WallFactory Class Reference

The WallFactory is provided to manage the WallFlyweight and the sharing of same. More...

#include <WallFactory.hpp>

Inheritance diagram for WallFactory

Inheritance graph
[legend]
Collaboration diagram for WallFactory:

Collaboration graph
[legend]
List of all members.

Public Methods

 WallFactory ( void )
 Default constructor.

 WallFactory ( WallFactoryCref )
 Copy constructor.

virtual ~WallFactory ( void )
 Virtual Destructor.

WallFactoryRef operator= ( WallFactoryCref )
 Assignment operator.

bool operator== ( WallFactoryCref ) const
 Equality operator.


Protected Methods

virtual WallFlyweightPtr allocateObject ( void )
 allocates a object. More...

virtual void deallocateObject ( WallFlyweightPtr )
 de-allocates a object. More...


Detailed Description

The WallFactory is provided to manage the WallFlyweight and the sharing of same.


Member Function Documentation

WallFlyweightPtr WallFactory::allocateObject ( void ) [protected, virtual]
 

allocates a object.

Parameters:
WallFlyweight   pointer

Reimplemented from corelinux::AbstractAllocator.

void WallFactory::deallocateObject ( WallFlyweightPtr aPtr ) [protected, virtual]
 

de-allocates a object.

Parameters:
WallFlyweight   pointer


The documentation for this class was generated from the following files:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium