StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
Sti
StiToolkit.cxx
1
#include <stdlib.h>
2
#include <assert.h>
3
#include "
StiToolkit.h
"
4
5
StiToolkit
* StiToolkit::_instance = 0;
6
7
StiToolkit::StiToolkit()
8
{
9
assert(!_instance);
10
_instance =
this
;
11
}
12
13
void
StiToolkit::setToolkit(
StiToolkit
* toolkit)
14
{
15
_instance = toolkit;
16
}
17
18
StiToolkit
* StiToolkit::instance()
19
{
20
return
_instance;
21
}
22
23
void
StiToolkit::kill()
24
{
25
if
(_instance)
26
{
27
delete
_instance;
28
_instance = 0;
29
}
30
}
StiToolkit.h
Abstract interface for a STI toolkit.
StiToolkit
Definition of toolkit.
Definition:
StiToolkit.h:55
Generated by
1.8.5