Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/PresentationFS18/test/core_plugin/Testsingleton.h @ 12012

Last change on this file since 12012 was 11012, checked in by landauf, 9 years ago

added unittest for plugin loading and unloading

  • Property svn:eol-style set to native
File size: 522 bytes
Line 
1#ifndef _Testsingleton_H__
2#define _Testsingleton_H__
3
4#include "util/Singleton.h"
5#include "core/object/Listable.h"
6
7namespace orxonox
8{
9    class Testsingleton : public Singleton<Testsingleton>, public Listable
10    {
11        friend class Singleton<Testsingleton>;
12
13        public:
14            Testsingleton();
15
16            int getValue() const
17                { return this->value_; }
18
19        private:
20            int value_;
21
22            static Testsingleton* singletonPtr_s;
23    };
24}
25
26#endif /* _Testsingleton_H__ */
Note: See TracBrowser for help on using the repository browser.