source:
orxonox.OLD/orxonox/branches/nico/src/proto_class.h
@
4078
| Last change on this file since 4078 was 3399, checked in by bensch, 21 years ago | |
|---|---|
| File size: 934 bytes | |
| Rev | Line | |
|---|---|---|
| [3399] | 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. | |
| [1853] | 5 | |
| [3399] | 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 | */ | |
| 9 | ||
| [3238] | 10 | #ifndef _PROTO_CLASS_H |
| 11 | #define _PROTO_CLASS_H | |
| [1853] | 12 | |
| [3399] | 13 | #include "stdincl.h" |
| [1853] | 14 | |
| [3399] | 15 | /*class Test;*/ /* forward definition of class Test (without including it here!)*/ |
| [2036] | 16 | |
| [3399] | 17 | //! A default class that aids you to start creating a new class |
| 18 | /** | |
| 19 | here can be some longer description of this class | |
| 20 | */ | |
| 21 | class ProtoClass : public BaseObject { | |
| [1853] | 22 | |
| [1904] | 23 | public: |
| [1853] | 24 | ProtoClass (); |
| 25 | ~ProtoClass (); | |
| 26 | ||
| [3399] | 27 | bool doNonSense (int nothing); |
| 28 | ||
| 29 | private: | |
| 30 | int nonSense; //!< doxygen tag here like this for all the variables - delete this variable if you use this | |
| 31 | ||
| [1853] | 32 | }; |
| 33 | ||
| [3238] | 34 | #endif /* _PROTO_CLASS_H */ |
Note: See TracBrowser
for help on using the repository browser.










