Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/levelloader/src/proto/proto_singleton.h @ 4180

Last change on this file since 4180 was 3746, checked in by chris, 20 years ago

orxonox/branches/levelloader: Merged trunk into branch… still not working though…

File size: 555 bytes
Line 
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
6*/
7
8#ifndef _PROTO_SINGLETON_H
9#define _PROTO_SINGLETON_H
10
11#include "base_object.h"
12
13// FORWARD DEFINITION \\
14
15//! A default singleton class.
16class ProtoSingleton : public BaseObject {
17
18 public:
19  static ProtoSingleton* getInstance(void);
20  virtual ~ProtoSingleton(void);
21
22 private:
23  ProtoSingleton(void);
24  static ProtoSingleton* singletonRef;
25};
26
27#endif /* _PROTO_SINGLETON_H */
Note: See TracBrowser for help on using the repository browser.