CursorTransformationModelFactory Class Reference
The Factory for creating CursorTransformationModels. More...
#include <CursorTransformationModel.h>
Inherited by GoGoCursorModelFactory, HomerCursorModelFactory, and VirtualHandCursorModelFactory.
Detailed Description
The Factory for creating CursorTransformationModels.This class is used to create a CursorTransformationModel. Every time you implement a new CursorTransformationModel you also have to implement a new CursorTransformationModelFactory for your model. This new factory can then be registered in the User-class is then used to generate the CursorTransformationModel. The CursorTransformationModelFactory has the abstract create-method which is inherited from the ClassFactory-class. In this method you have to check if the passed string is equal to the name of your CursorTransformationModel. If so you have to return a new instance of your CursorTransformationModel, if not you have to return NULL. This is important since the User-class iterates over every registered CursorTransformationModelFactory and calls their create-method with the name of the desired CursorTransformationModel. If one factory returns a value other than NULL it assumes that this is the new CursorTransformationModel.
The documentation for this class was generated from the following file:
- src/inVRs/SystemCore/UserDatabase/CursorTransformationModel.h
Generated on Wed Oct 20 16:11:55 2010 for inVRs by
1.5.8