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