Last change
on this file since 3542 was
3533,
checked in by bensch, 20 years ago
|
orxonox/trunk: added some more files to the new destructor-type
|
File size:
914 bytes
|
Line | |
---|
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. |
---|
12 | |
---|
13 | ### File Specific: |
---|
14 | main-programmer: Patrick Boenzli |
---|
15 | co-programmer: ... |
---|
16 | */ |
---|
17 | |
---|
18 | |
---|
19 | #include "helper_parent.h" |
---|
20 | |
---|
21 | |
---|
22 | using namespace std; |
---|
23 | |
---|
24 | |
---|
25 | /** |
---|
26 | \brief standard constructor |
---|
27 | |
---|
28 | \todo this constructor is not jet implemented - do it |
---|
29 | */ |
---|
30 | HelperParent::HelperParent () |
---|
31 | { |
---|
32 | this->setClassName ("HelperParent"); |
---|
33 | } |
---|
34 | |
---|
35 | |
---|
36 | /** |
---|
37 | \brief standard deconstructor |
---|
38 | |
---|
39 | \todo this deconstructor is not jet implemented - do it |
---|
40 | */ |
---|
41 | HelperParent::~HelperParent () |
---|
42 | { |
---|
43 | this->destroy(); |
---|
44 | } |
---|
45 | |
---|
46 | |
---|
47 | /** |
---|
48 | \brief destroys all allocated memory |
---|
49 | */ |
---|
50 | void HelperParent::destroy(void) |
---|
51 | { |
---|
52 | |
---|
53 | |
---|
54 | static_cast<PNode*>(this)->destroy(); |
---|
55 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.