33 #include <Rcs_macros.h> 34 #include <Rcs_typedef.h> 35 #include <PhysicsFactory.h> 42 const std::string& physicsEngineName,
43 const std::string& physicsConfigFile) :
44 graph(graph), physicsEngineName(physicsEngineName)
71 if (STREQ(existing.body->name, bodyName)) {
77 return &bodyInfos.back();
84 pdesc->getValues(outValues);
91 pdesc->setValues(values);
void getValues(PropertySink *outValues) const
PhysicsBase * createSimulator(PropertySource *values)
void addParam(const char *bodyName, PhysicsParameterDescriptor *desc)
virtual void init(BodyParamInfo *bodyParamInfo)
BodyParamInfo * getBodyInfo(const char *bodyName)
std::string physicsEngineName
std::list< BodyParamInfo > bodyInfos
virtual ~PhysicsParameterManager()
PhysicsConfig * physicsConfig
PhysicsParameterManager(RcsGraph *graph, const std::string &physicsEngineName, const std::string &physicsConfigFile)
std::vector< PhysicsParameterDescriptor * > paramDescs