Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/proto/proto_singleton.h @ 3741

Last change on this file since 3741 was 3655, checked in by bensch, 20 years ago

orxonox/trunk: moved protoclass to folder proto
added protosingleton
added resourceManager
modiefied some stuff to work better

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.