Changeset 3961 in orxonox.OLD for orxonox/branches/physics/src/util/physics/i_physics.h
- Timestamp:
- Apr 25, 2005, 6:15:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/util/physics/i_physics.h
r3954 r3961 1 1 /*! 2 \file proto_class.h 3 \brief Definition of the proto class template, used quickly start work 4 \todo Example: this shows how to use simply add a Marker that here has to be done something. 5 6 The Protoclass exists, to help you quikly getting the run for how to develop in orxonox. 7 It is an example for the CODING-CONVENTION, and a starting-point for every class. 2 \file i_physics.h 3 \brief a physics interface 8 4 */ 9 5 10 #ifndef _ PROTO_CLASS_H11 #define _ PROTO_CLASS_H6 #ifndef _I_PHYSICS_H 7 #define _I_PHYSICS_H 12 8 13 #include "what realy has to be included"14 9 #include "base_object.h" 15 10 16 // FORWARD DEFINITION \\17 class someClassWeNeed;18 11 19 12 20 /*class Test;*/ /* forward definition of class Test (without including it here!)*/ 21 22 //! A default class that aids you to start creating a new class 13 //! A Physics interface 23 14 /** 24 15 here can be some longer description of this class 25 16 */ 26 class ProtoClass : public BaseObject {17 class IPhysics : public BaseObject { 27 18 28 19 public: 29 ProtoClass(); 30 virtual ~ProtoClass(); 31 32 bool doNonSense (int nothing); 20 IPhysics(); 21 virtual ~IPhysics(); 33 22 34 23 private: 35 int nonSense; //!< doxygen tag here like this for all the variables - delete this variable if you use this 24 36 25 37 26 }; 38 27 39 #endif /* _ PROTO_CLASS_H */28 #endif /* _I_PHYSICS_H */
Note: See TracChangeset
for help on using the changeset viewer.