#include "TVirtualMCApplication.h"
#include "TError.h"
ClassImp(TVirtualMCApplication)
TVirtualMCApplication* TVirtualMCApplication::fgInstance = 0;
TVirtualMCApplication::TVirtualMCApplication(const char *name,
const char *title)
: TNamed(name,title)
{
if (fgInstance) {
Fatal("TVirtualMCApplication",
"Attempt to create two instances of singleton.");
}
fgInstance = this;
}
TVirtualMCApplication::TVirtualMCApplication()
: TNamed()
{
fgInstance = this;
}
TVirtualMCApplication::~TVirtualMCApplication()
{
fgInstance = 0;
}
TVirtualMCApplication* TVirtualMCApplication::Instance()
{
return fgInstance;
}
Last change: Wed Jun 25 08:54:51 2008
Last generated: 2008-06-25 08:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.