Creates objects from their descriptor. More...

Public Member Functions | |
| VgInstanceFactory (VgApplication::VgIApplication *pApplication) | |
| Constructor. | |
| template<typename tDescriptor > | |
| VgEngine::VgRefPtr< typename tDescriptor::Described > | instantiate (VgEngine::VgConstRefPtr< tDescriptor > const &pDescriptor) |
| The template instantiation to allow object instantiation through descriptors. | |
| template<typename tDescriptor > | |
| VgEngine::VgRefPtr< typename tDescriptor::Described > | instantiate (VgEngine::VgRefPtr< tDescriptor > const &pDescriptor) |
| The template instantiation to allow object instantiation through descriptors. | |
Creates objects from their descriptor.
| VgEngine::VgInstanceFactory::VgInstanceFactory | ( | VgApplication::VgIApplication * | pApplication ) |
Constructor.
| pApplication | The application to associate with the instance factory object. |
| VgEngine::VgRefPtr< typename tDescriptor::Described > VgEngine::VgInstanceFactory::instantiate | ( | VgEngine::VgConstRefPtr< tDescriptor > const & | pDescriptor ) |
The template instantiation to allow object instantiation through descriptors.
| pDescriptor | The descriptor that 'describes' the object, which will be used to create the object. |
| VgEngine::VgRefPtr< typename tDescriptor::Described > VgEngine::VgInstanceFactory::instantiate | ( | VgEngine::VgRefPtr< tDescriptor > const & | pDescriptor ) | [inline] |
The template instantiation to allow object instantiation through descriptors.
| pDescriptor | The descriptor that 'describes' the object, which will be used to create the object. |