AnimatLab  2
Test
VsClassFactory.h
1 // VsClassFactory.h: interface for the VsClassFactory class.
2 //
4 
5 #if !defined(AFX_VSCLASSFACTORY_H__DCB5874D_000C_499E_833C_89D8D1629818__INCLUDED_)
6 #define AFX_VSCLASSFACTORY_H__DCB5874D_000C_499E_833C_89D8D1629818__INCLUDED_
7 
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif
11 
12 namespace VortexAnimatSim
13 {
14 
15  class VORTEX_PORT VsClassFactory : public IStdClassFactory
16  {
17  public:
19  virtual ~VsClassFactory();
20 
21  virtual RigidBody *CreateRigidBody(std::string strType, bool bThrowError = true);
22  virtual Joint *CreateJoint(std::string strType, bool bThrowError = true);
23  virtual Structure *CreateStructure(std::string strType, bool bThrowError = true);
24  virtual Simulator *CreateSimulator(std::string strType = "", bool bThrowError = true);
25  virtual KeyFrame *CreateKeyFrame(std::string strType = "", bool bThrowError = true);
26  virtual DataChart *CreateDataChart(std::string strType, bool bThrowError = true);
27  virtual DataColumn *CreateDataColumn(std::string strType, bool bThrowError = true);
28  virtual Adapter *CreateAdapter(std::string strType, bool bThrowError = true);
29  virtual Gain *CreateGain(std::string strType, bool bThrowError = true);
30  virtual ExternalStimulus *CreateExternalStimulus(std::string strType, bool bThrowError = true);
31  virtual HudItem *CreateHudItem(std::string strType, bool bThrowError = true);
32  virtual Hud *CreateHud(std::string strType, bool bThrowError = true);
33  virtual MaterialType *CreateMaterialItem(std::string strType, bool bThrowError = true);
34  virtual SimulationWindow *CreateWindowItem(std::string strType, bool bThrowError = true);
35  virtual Light *CreateLight(std::string strType, bool bThrowError = true);
36  virtual NeuralModule *CreateNeuralModule(std::string strType, bool bThrowError = true);
37  virtual ConstraintRelaxation *CreateConstraintRelaxation(std::string strType, bool bThrowError = true);
38  virtual ConstraintFriction *CreateConstraintFriction(std::string strType, bool bThrowError = true);
39  virtual RemoteControlLinkage *CreateRemoteControlLinkage(std::string strType, bool bThrowError = true);
40 
41  virtual CStdSerialize *CreateObject(std::string strClassType, std::string strObjectType, bool bThrowError = true);
42  };
43 
44 } //VortexAnimatSim
45 
46 #endif // !defined(AFX_VSCLASSFACTORY_H__DCB5874D_000C_499E_833C_89D8D1629818__INCLUDED_)
Classes for implementing the cm-labs vortex physics engine for AnimatLab.