OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
myguiplatform.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
2 #define OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
3 
4 #include <string>
5 
6 namespace osgViewer
7 {
8  class Viewer;
9 }
10 namespace osg
11 {
12  class Group;
13 }
14 namespace Resource
15 {
16  class ImageManager;
17 }
18 namespace MyGUI
19 {
20  class LogManager;
21 }
22 
23 namespace osgMyGUI
24 {
25 
26  class RenderManager;
27  class DataManager;
28  class LogFacility;
29 
30  class Platform
31  {
32  public:
33  Platform(osgViewer::Viewer* viewer, osg::Group* guiRoot, Resource::ImageManager* imageManager, float uiScalingFactor);
34 
35  ~Platform();
36 
37  void initialise(const std::string& resourcePath, const std::string& _logName = "MyGUI.log");
38 
39  void shutdown();
40 
42 
44 
45  private:
48  MyGUI::LogManager* mLogManager;
50 
51  void operator=(const Platform&);
52  Platform(const Platform&);
53  };
54 
55 }
56 
57 #endif
Platform(osgViewer::Viewer *viewer, osg::Group *guiRoot, Resource::ImageManager *imageManager, float uiScalingFactor)
Definition: myguiplatform.cpp:10
void operator=(const Platform &)
Definition: myguiplatform.hpp:30
~Platform()
Definition: myguiplatform.cpp:21
RenderManager * getRenderManagerPtr()
Definition: myguiplatform.cpp:53
Handles loading/caching of Images.
Definition: imagemanager.hpp:23
RenderManager * mRenderManager
Definition: myguiplatform.hpp:46
LogFacility * mLogFacility
Definition: myguiplatform.hpp:49
Helper class holding data that required during MyGUI log creation.
Definition: myguiloglistener.hpp:42
void shutdown()
Definition: myguiplatform.cpp:47
Definition: myguirendermanager.hpp:31
MyGUI::LogManager * mLogManager
Definition: myguiplatform.hpp:48
Definition: myguidatamanager.hpp:10
DataManager * mDataManager
Definition: myguiplatform.hpp:47
void initialise(const std::string &resourcePath, const std::string &_logName="MyGUI.log")
Definition: myguiplatform.cpp:33
DataManager * getDataManagerPtr()
Definition: myguiplatform.cpp:58