forked from gtDMMB/RNAStructViz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNAStructViz.h
48 lines (34 loc) · 798 Bytes
/
RNAStructViz.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
/**
The main application class for RNAStructViz.
*/
#ifndef RNASTRUCTVIZ_H
#define RNSSTRUCTVIZ_H
#include "StructureManager.h"
#include "DiagramWindow.h"
#include <vector>
class RNAStructViz
{
public:
RNAStructViz();
~RNAStructViz();
static bool Initialize(int argc, char** argv);
static void Shutdown();
inline static RNAStructViz* GetInstance()
{
return ms_instance;
}
inline StructureManager* GetStructureManager()
{
return m_structureManager;
}
inline const std::vector<DiagramWindow*>& GetDiagramWindows() const
{
return m_diagramWindows;
}
void AddDiagramWindow();
private:
static RNAStructViz* ms_instance;
StructureManager* m_structureManager;
std::vector<DiagramWindow*> m_diagramWindows;
};
#endif