Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/proto_class.cc @ 3557

Last change on this file since 3557 was 3544, checked in by bensch, 20 years ago

orxonox/trunk: now the delete-process is as inteded by c++
virtual ~ClassName extends deletion and deletes also the MasterClass

File size: 1.0 KB
RevLine 
[1853]1
2
3/*
4   orxonox - the future of 3D-vertical-scrollers
5
6   Copyright (C) 2004 orx
7
8   This program is free software; you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2, or (at your option)
11   any later version.
[1855]12
13   ### File Specific:
14   main-programmer: ...
15   co-programmer: ...
[1853]16*/
17
18
19#include "proto_class.h"
20
[3543]21#include "stdincl.h" // maybe
[1853]22
[1856]23using namespace std;
[1853]24
[1856]25
[3245]26/**
27   \brief standard constructor
28   \todo this constructor is not jet implemented - do it
29*/
[3365]30ProtoClass::ProtoClass () 
31{
32   this->setClassName ("ProtoClass");
33}
[1853]34
35
[3245]36/**
37   \brief standard deconstructor
[1853]38
[3245]39*/
[3543]40ProtoClass::~ProtoClass () 
41{
42  // delete what has to be deleted here
43}
[1853]44
[3245]45/**
46   \brief nonsense - delete this method
47   \param realy nothing to give
48   \returns true or false - probably nothing?
49
[3329]50   this is just to show the doxygen abilities (this for example is an extension for a long comment)
[3245]51*/
52bool ProtoClass::doNonSense (int nothing) {}
Note: See TracBrowser for help on using the repository browser.