ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/primitives/StuntDouble.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/primitives/StuntDouble.hpp (file contents):
Revision 1815 by tim, Wed Dec 1 18:42:45 2004 UTC vs.
Revision 1822 by tim, Thu Dec 2 02:08:29 2004 UTC

# Line 782 | Line 782 | namespace oopse{
782          }
783  
784          /** Returns the name of this stuntdouble */
785 <        std::string getType();
785 >        virtual void getType() = 0;
786          
787          /** Sets the name of this stuntdouble*/
788 <        void setType(const std::string& name);
788 >        virtual void setType(const std::string& name) {}
789  
790          /**
791           * Converts a lab fixed vector to a body fixed vector.
# Line 872 | Line 872 | namespace oopse{
872          double mass_;
873          
874      private:
875
876        std::string name_;
875          
876          PropertyMap properties_;
877 <    };
877 > };
878  
879   }//end namespace oopse
880   #endif //PRIMITIVES_STUNTDOUBLE_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines