-
Notifications
You must be signed in to change notification settings - Fork 0
/
MPI_Application.h
51 lines (36 loc) · 990 Bytes
/
MPI_Application.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// MPI_Application.h
//
// Description:
// Top level application. Intialises/frees all of the global
// program resources in a controlled manner.
//
#ifndef __MPI_APPLICATION_H__
#define __MPI_APPLICATION_H__
class MPI_Audio;
class MPI_Scheduler;
class MPI_ParticleFactory;
class MPI_Workspace;
class MPI_GUIRootWindow;
class MPI_Application
{
public:
static MPI_Application& getInstance( void );
static void destroyInstance( void );
void start( void ) const;
MPI_Audio& getAudio( void ) const;
MPI_GUIRootWindow& getGUIRootWindow( void ) const;
MPI_ParticleFactory& getParticleFactory( void ) const;
private:
MPI_Application();
~MPI_Application();
MPI_Application( MPI_Application& );
static MPI_Application* singletoninstance_;
MPI_Audio* audio_;
MPI_Scheduler *scheduler_;
MPI_ParticleFactory *factory_;
MPI_Workspace *workspace_;
MPI_GUIRootWindow* guirootwindow_;
};
#endif
// vim:sw=4:et:cindent: