Most factories follow this simple pattern, so why not just use a function pointer for most creation operations?
More...
#include <nsGenericFactory.h>
List of all members.
Detailed Description
Most factories follow this simple pattern, so why not just use a function pointer for most creation operations?
Constructor & Destructor Documentation
nsGenericFactory::nsGenericFactory |
( |
const nsModuleComponentInfo * |
info = NULL |
) |
|
Member Function Documentation
static nsresult nsGenericFactory::Create |
( |
nsISupports * |
outer, |
|
|
const nsIID & |
aIID, |
|
|
void ** |
aInstancePtr | |
|
) |
| | [static] |
virtual nsresult nsGenericFactory::CreateInstance |
( |
nsISupports * |
aOuter, |
|
|
REFNSIID |
aIID, |
|
|
void ** |
aResult | |
|
) |
| | [virtual] |
virtual nsresult nsGenericFactory::GetComponentInfo |
( |
const nsModuleComponentInfo ** |
infop |
) |
[virtual] |
virtual nsresult nsGenericFactory::LockFactory |
( |
PRBool |
aLock |
) |
[virtual] |
NS_DECL_ISUPPORTS virtual NS_DECL_NSICLASSINFO nsresult nsGenericFactory::SetComponentInfo |
( |
const nsModuleComponentInfo * |
info |
) |
[virtual] |
The documentation for this class was generated from the following file: