Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/test/core_plugin/Testsingleton.cc @ 11488

Last change on this file since 11488 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: 381 bytes
Line 
1#include "Testsingleton.h"
2#include "core/CoreIncludes.h"
3#include "core/singleton/ScopedSingletonIncludes.h"
4
5namespace orxonox
6{
7    ManageScopedSingleton(Testsingleton, ScopeID::ROOT, false);
8
9    RegisterAbstractClass(Testsingleton).inheritsFrom<Listable>();
10
11    Testsingleton::Testsingleton()
12    {
13        RegisterObject(Testsingleton);
14
15        this->value_ = 999;
16    }
17}
Note: See TracBrowser for help on using the repository browser.