VisioDevKit
v2.0
|
Creates objects from their descriptor. More...
Public Member Functions | |
VgInstanceFactory (VgApplication::VgIApplication *pApplication) | |
Constructor. More... | |
template<typename tDescriptor > | |
VgEngine::VgRefPtr< typename tDescriptor::Described > | instantiate (VgEngine::VgConstRefPtr< tDescriptor > const &pDescriptor) |
The template instantiation to allow object instantiation through descriptors. More... | |
template<typename tDescriptor > | |
VgEngine::VgRefPtr< typename tDescriptor::Described > | instantiate (VgEngine::VgRefPtr< tDescriptor > const &pDescriptor) |
The template instantiation to allow object instantiation through descriptors. More... | |
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. |
|
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. |