VISH
0.2
|
typemap<list<WeakPtr<VInputCreatorBase> > > InputCreatorRegistry;
VBASE_API RefPtr< VInputCreatorBase > Wizt::findBestVInputCreator | ( | const type_info & | what, |
const RefPtr< VCreationPreferences > & | prop | ||
) |
Search through the database of creator objects for input objects such that the specified properties are matched best.
Of course, the specified type must match exactly.
VBASE_API bool Wizt::iterateVInputCreators | ( | const type_info & | what, |
VInputCreatorIterator & | VICI | ||
) |
Given a certain type, iterate through all registered VCreator objects that may create objects providing this type.
VBASE_API bool Wizt::registerVInput | ( | const type_info & | what, |
const WeakPtr< VInputCreatorBase > & | impl | ||
) |
Register a certain VInputCreatorBase object as having the capability to create an object that may provide a certain type.
what | The type that may be provided by the newly created object. |
impl | A VCreator object that may create new objects. |
VBASE_API bool Wizt::unregisterVInput | ( | const type_info & | what, |
const WeakPtr< VInputCreatorBase > & | impl | ||
) |
Remove a creator's property to provide a certain type from the registry.