XFace::InfluenceCalculatorMaker Class Reference
[XFace]
#include <InfluenceCalculatorMaker.h>
Inheritance diagram for XFace::InfluenceCalculatorMaker:
Detailed Description
- Author:
- Koray Balci
- Version:
- 1.0
- Date:
- April 2004
An IInfluenceCalculator derived class must always have a InfluenceCalculatorMaker derived class complementing it. XFaceEd automatically adds available IInfluenceCalculator derived classes to its influence set and exposes it to the end user. In addition, only this way the core library can use the influence calculation mechanism properly, for utilizing correct influence calculator.
Static Public Member Functions | |
static std::vector< std::string > | getMakerList () |
static IInfluenceCalculator * | newInfluenceCalculator (const std::string &, float w, unsigned short fapID) |
Protected Member Functions | |
InfluenceCalculatorMaker (const std::string &className) | |
ctor only accessible to derived classes. | |
virtual IInfluenceCalculator * | makeInfluenceCalculator (float w, unsigned short fapID) const =0 |
Derived classes should reimplement this pure virtual. |
Constructor & Destructor Documentation
|
Base class constructor registers the derived class identifier to its list of influencers.
|
Member Function Documentation
|
Returns the list of influence calculator makers as a vector.
|
|
Clients should call this static method, to create influence calculators. It accesses the proper factory (maker) and requests a new influence calculator and returns it.
|
The documentation for this class was generated from the following files:
- InfluenceCalculatorMaker.h
- InfluenceCalculatorMaker.cpp
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by 1.4.6-NO