--- trunk/src/primitives/StuntDouble.cpp 2005/04/15 22:03:16 506 +++ trunk/src/primitives/StuntDouble.cpp 2005/04/15 22:04:00 507 @@ -1,4 +1,4 @@ - /* +/* * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. * * The University of Notre Dame grants you ("Licensee") a @@ -50,42 +50,42 @@ namespace oopse { namespace oopse { -StuntDouble::StuntDouble(ObjectType objType, DataStoragePointer storage) : + StuntDouble::StuntDouble(ObjectType objType, DataStoragePointer storage) : objType_(objType), storage_(storage), snapshotMan_(NULL), linear_(false), linearAxis_(-1), globalIndex_(-1), localIndex_(-1){ -} + } -StuntDouble::~StuntDouble() { + StuntDouble::~StuntDouble() { -} + } -void StuntDouble::zeroForcesAndTorques() { + void StuntDouble::zeroForcesAndTorques() { setFrc(V3Zero); setTrq(V3Zero); -} -void StuntDouble::addProperty(GenericData* genData) { + } + void StuntDouble::addProperty(GenericData* genData) { properties_.addProperty(genData); -} + } -void StuntDouble::removeProperty(const std::string& propName) { + void StuntDouble::removeProperty(const std::string& propName) { properties_.removeProperty(propName); -} + } -void StuntDouble::clearProperties() { + void StuntDouble::clearProperties() { properties_.clearProperties(); -} + } -std::vector StuntDouble::getPropertyNames() { + std::vector StuntDouble::getPropertyNames() { return properties_.getPropertyNames(); -} + } -std::vector StuntDouble::getProperties() { + std::vector StuntDouble::getProperties() { return properties_.getProperties(); -} + } -GenericData* StuntDouble::getPropertyByName(const std::string& propName) { + GenericData* StuntDouble::getPropertyByName(const std::string& propName) { return properties_.getPropertyByName(propName); -} + } }