Changeset 3923 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/graphics/partices/particle_engine.h
- Timestamp:
- Apr 21, 2005, 3:04:21 PM (19 years ago)
- Location:
- orxonox/branches/particleEngine/src/lib/graphics/partices
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/partices/particle_engine.h
r3922 r3923 1 1 /*! 2 \file proto_singleton.h 3 \brief Definition of the proto class template, used quickly start work 4 5 a simple file to copy and create a singleton-class from 2 \file particle_engine.h 3 \brief Definition of the ParticleEngine 6 4 */ 7 5 8 #ifndef _P ROTO_SINGLETON_H9 #define _P ROTO_SINGLETON_H6 #ifndef _PARTICLE_ENGINE_H 7 #define _PARTICLE_ENGINE_H 10 8 11 9 #include "base_object.h" 12 10 13 // FORWARD DEFINITION \\11 // FORWARD DEFINITION 14 12 15 13 //! A default singleton class. 16 class P rotoSingleton: public BaseObject {14 class ParticleEngine : public BaseObject { 17 15 18 16 public: 19 static P rotoSingleton* getInstance(void);20 virtual ~P rotoSingleton(void);17 static ParticleEngine* getInstance(void); 18 virtual ~ParticleEngine(void); 21 19 22 20 private: 23 P rotoSingleton(void);24 static P rotoSingleton* singletonRef;21 ParticleEngine(void); 22 static ParticleEngine* singletonRef; 25 23 }; 26 24 27 #endif /* _P ROTO_SINGLETON_H */25 #endif /* _PARTICLE_ENGINE_H */
Note: See TracChangeset
for help on using the changeset viewer.