APPLICATIONS/SlowControlCenter.cxx

00001 // @(#)fROOT/APPLICATIONS:$Name:  $:$Id: SlowControlCenter.cxx,v 1.6 2007/09/05 09:32:04 Diego_Faso Exp $
00002 // Author: Diego Faso <mailto:faso@to.infn.it>, 2006/07/25
00003 
00004 #include <TRint.h>
00005 
00006 #include "TFndSCCgui.h"
00007 
00008 int main(int argc, char **argv) {
00009   TRint *theApp = new TRint("finuda_onlmon",&argc,argv,NULL,0,1);
00010   theApp->ProcessFile(FROOT::ExpandPathName("$FROOTSYS/mcr_called/frootlogon.C"));
00011   theApp->SetPrompt("# froot > ");
00012   
00013   TFndSCCgui *myGUI = new TFndSCCgui();
00014   myGUI->SetMustSendToDAQ(kTRUE);
00015   myGUI->SetMustSaveLocalRaw(kTRUE);
00016   
00017   myGUI->BuildGUI();
00018   myGUI->MapGUI();
00019   myGUI->MakeConnections();
00020   myGUI->StartSendThread();
00021 
00022   theApp->Run();
00023   theApp->Terminate(0);
00024   delete theApp;
00025   return(0);
00026 }
00027   
00028  

Generated on Tue Oct 16 15:40:46 2007 by  doxygen 1.5.2