Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/proto_class.h @ 3543

Last change on this file since 3543 was 3543, checked in by bensch, 19 years ago

orxonox/trunk: some more classes now destroy themselves via virtual-destructors and call to predecessing destroy-function
also made
#include "stdincl.h" out of unnecessary h-files, so we got faster compile time.

File size: 1.0 KB
Line 
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.
8*/
9
10#ifndef _PROTO_CLASS_H
11#define _PROTO_CLASS_H
12
13#include "what realy has to be included"
14#include "base_object.h"
15
16// FORWARD DEFINITION \\
17class someClassWeNeed;
18
19
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
23/**
24   here can be some longer description of this class
25*/
26class ProtoClass : public BaseObject {
27
28 public:
29  ProtoClass();
30  virtual ~ProtoClass();
31  void destroy(void)
32
33  bool doNonSense (int nothing);
34
35 private:
36  int nonSense;  //!< doxygen tag here like this for all the variables - delete this variable if you use this
37
38};
39
40#endif /* _PROTO_CLASS_H */
Note: See TracBrowser for help on using the repository browser.