Changeset 3955 in orxonox.OLD
- Timestamp:
- Apr 25, 2005, 11:37:47 AM (20 years ago)
- Location:
- orxonox/trunk/src/proto
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/proto/proto_class.cc
r3655 r3955 1 2 3 1 /* 4 2 orxonox - the future of 3D-vertical-scrollers … … 16 14 */ 17 15 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 19 17 20 18 #include "proto_class.h" 21 22 #include "stdincl.h" // maybe23 19 24 20 using namespace std; … … 43 39 // delete what has to be deleted here 44 40 } 45 46 /**47 \brief nonsense - delete this method48 \param realy nothing to give49 \returns true or false - probably nothing?50 51 this is just to show the doxygen abilities (this for example is an extension for a long comment)52 */53 bool ProtoClass::doNonSense (int nothing) {} -
orxonox/trunk/src/proto/proto_class.h
r3655 r3955 1 1 /*! 2 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. 3 \brief Definition of ... 5 4 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.8 5 */ 9 6 … … 11 8 #define _PROTO_CLASS_H 12 9 13 #include "what realy has to be included"14 10 #include "base_object.h" 15 11 16 // FORWARD DEFINITION \\ 17 class someClassWeNeed; 12 // FORWARD DEFINITION 18 13 19 14 20 /*class Test;*/ /* forward definition of class Test (without including it here!)*/21 15 22 //! A default class that aids you to start creating a new class 23 /** 24 here can be some longer description of this class 25 */ 16 //! A class for ... 26 17 class ProtoClass : public BaseObject { 27 18 … … 30 21 virtual ~ProtoClass(); 31 22 32 bool doNonSense (int nothing);33 23 34 24 private: 35 int nonSense; //!< doxygen tag here like this for all the variables - delete this variable if you use this36 25 37 26 }; -
orxonox/trunk/src/proto/proto_singleton.h
r3655 r3955 1 1 /*! 2 2 \file proto_singleton.h 3 \brief Definition of the proto class template, used quickly start work3 \brief Definition of the ... singleton Class 4 4 5 a simple file to copy and create a singleton-class from6 5 */ 7 6 … … 11 10 #include "base_object.h" 12 11 13 // FORWARD DEFINITION \\12 // FORWARD DEFINITION 14 13 15 14 //! A default singleton class.
Note: See TracChangeset
for help on using the changeset viewer.