Free Electron
Public Member Functions | List of all members
fe::Library::Factory< T > Class Template Reference

Type-specific factory template. More...

Inheritance diagram for fe::Library::Factory< T >:
Inheritance graph
[legend]

Public Member Functions

 Factory (const String &name)
 
virtual sp< Componentcreate (Library *pLibrary, I32 a_factoryIndex) const
 Instantiate a component. More...
 
- Public Member Functions inherited from fe::Library::BaseFactory
 BaseFactory (const String &name)
 
const Stringname (void) const
 Return the factory's type's name. More...
 
const String verboseName (void) const
 Return the factory's templated name. More...
 
- Public Member Functions inherited from fe::Counted
virtual void acquire (void)
 Increment the reference count. More...
 
virtual void acquire (int &rCount)
 Increment the reference count (and get the count) More...
 
virtual void release (void)
 Decrement the reference count. More...
 
virtual void abandon (void)
 Decrement the reference count. More...
 
int count (void) const
 Return the count of references. More...
 
void setName (const String &)
 
void trackReference (void *pReference, String what)
 
void untrackReference (void *pReference)
 
void registerRegion (void *pT, U32 bytes)
 

Additional Inherited Members

- Static Public Member Functions inherited from fe::Counted
static String reportTracker (void)
 
static U32 trackerCount (void)
 
- Protected Member Functions inherited from fe::Counted
int releaseInternal (void)
 Decrement the reference count. More...
 
void suppressReport (void)
 

Detailed Description

template<typename T>
class fe::Library::Factory< T >

Type-specific factory template.

Member Function Documentation

◆ create()

template<typename T >
virtual sp<Component> fe::Library::Factory< T >::create ( Library pLibrary,
I32  a_factoryIndex 
) const
inlinevirtual

Instantiate a component.

Implements fe::Library::BaseFactory.


The documentation for this class was generated from the following file: