CoreLinux++
0.4.32
|
AbstractFactory provides an interface for creating families of related or dependent objects without specifying their concrete classes. More...
#include <AbstractFactory.hpp>
Public Member Functions | |
AbstractFactory (void) | |
Default constructor. | |
AbstractFactory (const AbstractFactory &) | |
Copy Constructor. More... | |
virtual | ~AbstractFactory (void) |
Virtual Destructor. | |
AbstractFactory & | operator= (const AbstractFactory &) |
Assignment operator. More... | |
bool | operator== (const AbstractFactory &aRef) const |
Equality operator. More... | |
virtual Count | getCreateCount (void) const =0 |
Returns the number of total creates for this factory. More... | |
virtual Count | getDestroyCount (void) const =0 |
Returns the number of total destroys for this factory. More... | |
virtual AllocatorPtr | getAllocator (UniqueId) const =0 throw (AllocatorNotFoundException) |
Retrieve the allocator identified by argument from the implementation. More... | |
virtual void | addAllocator (UniqueId, AllocatorPtr)=0 throw (AllocatorAlreadyExistsException) |
Add a allocator to the factory implementation. More... | |
virtual AllocatorPtr | removeAllocator (UniqueId)=0 throw (AllocatorNotFoundException) |
Retrieve and remove the allocator identified by argument from the implementation. More... | |
virtual Iterator< Allocator * > * | createIterator (void) const =0 |
Interface for creating an Iterator to iterate through the Allocators of an implementation. More... | |
virtual void | destroyIterator (Iterator< Allocator * > *) const =0 |
Interface for returning a created Iterator. More... | |
virtual AssociativeIterator < UniqueId, Allocator * > * | createAssociativeIterator (void) const =0 |
Interface for creating an AssociativeIterator to iterate through the Identifiers and Allocators of an implementation. More... | |
virtual void | destroyAssociativeIterator (AssociativeIterator< UniqueId, Allocator * > *) const =0 |
Interface for returning a created AssociativeIterator. More... | |
![]() | |
CoreLinuxObject (void) | |
Default Constructor. | |
CoreLinuxObject (CoreLinuxObjectCref) | |
Copy Constructor. More... | |
virtual | ~CoreLinuxObject (void) |
Virtual Destructor. | |
CoreLinuxObjectRef | operator= (CoreLinuxObjectCref) |
Assignment operator overload. More... | |
bool | operator== (CoreLinuxObjectCref) const |
Equality operator overload. More... | |
bool | operator!= (CoreLinuxObjectCref) const |
Non-equality operator overload. More... | |
AbstractFactory provides an interface for creating families of related or dependent objects without specifying their concrete classes.
|
inline |
Copy Constructor.
AbstractFactory | const reference |
|
pure virtual |
Add a allocator to the factory implementation.
Allocator | pointer |
AllocatorAlreadyExistsException |
|
pure virtual |
Interface for creating an AssociativeIterator to iterate through the Identifiers and Allocators of an implementation.
|
pure virtual |
|
pure virtual |
Interface for returning a created AssociativeIterator.
|
pure virtual |
|
pure virtual |
Retrieve the allocator identified by argument from the implementation.
Identifier | const reference |
AllocatorNotFoundException |
|
pure virtual |
Returns the number of total creates for this factory.
|
pure virtual |
Returns the number of total destroys for this factory.
|
inline |
|
inline |
Equality operator.
AbstractFactory | const reference |
|
pure virtual |
Retrieve and remove the allocator identified by argument from the implementation.
Identifier | const reference |
AllocatorNotFoundException |