AnimatLab  2
Test
RbRPRO.cpp
Go to the documentation of this file.
1 
7 #include "StdAfx.h"
8 #include "RbMovableItem.h"
9 #include "RbBody.h"
10 #include "RbJoint.h"
11 #include "RbMotorizedJoint.h"
12 #include "RbRigidBody.h"
13 #include "RbRPRO.h"
14 #include "RbSimulator.h"
15 
16 namespace RoboticsAnimatSim
17 {
18  namespace Environment
19  {
20  namespace Joints
21  {
22 
30 {
31  SetThisPointers();
32 }
33 
41 {
42 
43  try
44  {
45  }
46  catch(...)
47  {Std_TraceMsg(0, "Caught Error in desctructor of RbRPRO\r\n", "", -1, false, true);}
48 }
49 
51 {
52 }
53 
54 #pragma region DataAccesMethods
55 
56 bool RbRPRO::SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError)
57 {
58  //if(RbJoint::Physics_SetData(strDataType, strValue))
59  // return true;
60 
61  if(RPRO::SetData(strDataType, strValue, false))
62  return true;
63 
64  //If it was not one of those above then we have a problem.
65  if(bThrowError)
66  THROW_PARAM_ERROR(Al_Err_lInvalidDataType, Al_Err_strInvalidDataType, "Data Type", strDataType);
67 
68  return false;
69 }
70 
71 void RbRPRO::QueryProperties(CStdPtrArray<TypeProperty> &aryProperties)
72 {
73  //RbJoint::Physics_QueryProperties(aryProperties);
74  RPRO::QueryProperties(aryProperties);
75 }
76 
77 #pragma endregion
78 
79  } //Joints
80  } // Environment
81 } //RoboticsAnimatSim
virtual void CreateJoint()
Creates the joint.
Definition: RbRPRO.cpp:50
Declares the vortex relative position, relative orientation class.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.