Changeset 4838 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Jul 12, 2005, 12:09:04 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib
- Files:
-
- 1 added
- 2 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/event/event_handler.cc
r4836 r4838 72 72 if( this->listeners[i][j] != NULL) 73 73 { 74 PRINTF(2)(" Someone forgot to unsubscribe an EventListener!\n");74 PRINTF(2)("forgot to unsubscribe an EventListener %s!\n");//, this->listeners[i][j]->getName()); 75 75 } 76 76 } -
orxonox/trunk/src/lib/graphics/graphics_engine.cc
r4836 r4838 58 58 { 59 59 // delete what has to be deleted here 60 EventHandler::getInstance()->unsubscribe(this);61 60 } 62 61 -
orxonox/trunk/src/lib/graphics/render2D/element_2D.cc
r4837 r4838 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ … … 16 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 17 17 18 #include " proto_class.h"18 #include "element_2D.h" 19 19 20 20 using namespace std; … … 22 22 23 23 /** 24 \briefstandard constructor25 \todo this constructor is not jet implemented - do it24 * standard constructor 25 * @todo this constructor is not jet implemented - do it 26 26 */ 27 ProtoClass::ProtoClass()27 Element2D::Element2D () 28 28 { 29 this->setClassID(CL_ PROTO_ID, "ProtoClass");29 this->setClassID(CL_ELEMENT_2D, "Element2D"); 30 30 31 31 /* If you make a new class, what is most probably the case when you write this file … … 43 43 44 44 /** 45 \brief standard deconstructor 46 45 * standard deconstructor 47 46 */ 48 ProtoClass::~ProtoClass()47 Element2D::~Element2D () 49 48 { 50 49 // delete what has to be deleted here -
orxonox/trunk/src/lib/graphics/render2D/element_2D.h
r4837 r4838 1 /*! 2 \file proto_class.h 3 \brief Definition of ... 4 1 /*! 2 * @file element_2D.h 3 * @brief Definition of the 2D elements rendered on top through the GraphicsEngine 5 4 */ 6 5 7 #ifndef _ PROTO_CLASS_H8 #define _ PROTO_CLASS_H6 #ifndef _ELEMENT_2D_H 7 #define _ELEMENT_2D_H 9 8 10 9 #include "base_object.h" 11 10 12 // FORWARD DEFINITION 13 14 11 // FORWARD DECLARATION 15 12 16 13 //! A class for ... 17 class ProtoClass: public BaseObject {14 class Element2D : public BaseObject { 18 15 19 16 public: 20 ProtoClass();21 virtual ~ ProtoClass();17 Element2D(); 18 virtual ~Element2D(); 22 19 23 20 … … 26 23 }; 27 24 28 #endif /* _ PROTO_CLASS_H */25 #endif /* _ELEMENT_2D_H */ -
orxonox/trunk/src/lib/graphics/render2D/render_2d.cc
r4837 r4838 22 22 23 23 /** 24 \briefstandard constructor25 */24 * standard constructor 25 */ 26 26 ProtoSingleton::ProtoSingleton () 27 27 { … … 42 42 43 43 /** 44 \briefthe singleton reference to this class45 */44 * the singleton reference to this class 45 */ 46 46 ProtoSingleton* ProtoSingleton::singletonRef = NULL; 47 47 48 48 /** 49 \brief standard deconstructor 50 51 */ 49 @brief standard deconstructor 50 */ 52 51 ProtoSingleton::~ProtoSingleton () 53 52 { 54 53 ProtoSingleton::singletonRef = NULL; 55 56 54 } -
orxonox/trunk/src/lib/graphics/render2D/render_2d.h
r4837 r4838 1 /*! 2 \file proto_singleton.h 3 \brief Definition of the ... singleton Class 4 1 /*! 2 * @file proto_singleton.h 3 * @brief Definition of the ... singleton Class 5 4 */ 6 5 … … 17 16 public: 18 17 virtual ~ProtoSingleton(void); 19 /** \returns a Pointer to the only object of this Class */18 /** @returns a Pointer to the only object of this Class */ 20 19 inline static ProtoSingleton* getInstance(void) { if (!singletonRef) singletonRef = new ProtoSingleton(); return singletonRef; }; 21 20
Note: See TracChangeset
for help on using the changeset viewer.