Changeset 11251
- Timestamp:
- 07/04/11 22:21:29 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r11245 r11251 1047 1047 delete fOpenedRunFiles; 1048 1048 delete fNumSubAndFits; 1049 delete fStatsMonitoring; 1049 1050 1050 1051 if (fDebugIsOn) … … 2513 2514 */ 2514 2515 // -------------------------------------------------------------------------- 2516 2517 #include "Main.h" 2518 /* 2515 2519 void RunThread(DataLogger* logger) 2516 2520 { … … 2520 2524 Readline::Stop(); 2521 2525 } 2526 */ 2522 2527 // -------------------------------------------------------------------------- 2523 2528 template<class T> 2524 2529 int RunShell(Configuration &conf) 2525 2530 { 2531 return Main<T, DataLogger>(conf, true); 2532 /* 2526 2533 static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1); 2527 2534 … … 2570 2577 2571 2578 return 0; 2579 */ 2572 2580 } 2573 2581 -
trunk/FACT++/src/drivectrl.cc
r11221 r11251 859 859 // ------------------------------------------------------------------------ 860 860 861 #include "Main.h" 862 863 /* 861 864 void RunThread(StateMachineImp *io_service) 862 865 { … … 866 869 Readline::Stop(); 867 870 } 868 871 */ 869 872 /* 870 873 template<class S, class T> … … 894 897 int RunShell(Configuration &conf) 895 898 { 899 return Main<T, StateMachineDrive<S, R>>(conf); 900 /* 896 901 static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1); 897 902 … … 939 944 940 945 return 0; 946 */ 941 947 } 942 948 -
trunk/FACT++/src/fadctrl.cc
r11243 r11251 1682 1682 // ------------------------------------------------------------------------ 1683 1683 1684 1684 #include "Main.h" 1685 1686 /* 1685 1687 void RunThread(StateMachineImp *io_service) 1686 1688 { … … 1690 1692 Readline::Stop(); 1691 1693 } 1692 1694 */ 1693 1695 /* 1694 1696 template<class S> … … 1718 1720 int RunShell(Configuration &conf) 1719 1721 { 1722 return Main<T, StateMachineFAD<S>>(conf); 1723 /* 1720 1724 static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1); 1721 1725 … … 1762 1766 1763 1767 return 0; 1768 */ 1764 1769 } 1765 1770 -
trunk/FACT++/src/fscctrl.cc
r11218 r11251 530 530 // ------------------------------------------------------------------------ 531 531 532 #include "Main.h" 533 534 /* 532 535 void RunThread(StateMachineImp *io_service) 533 536 { … … 537 540 Readline::Stop(); 538 541 } 539 542 */ 540 543 /* 541 544 template<class S, class T> … … 566 569 int RunShell(Configuration &conf) 567 570 { 571 return Main<T, StateMachineFSC<S, R>>(conf); 572 /* 568 573 static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1); 569 574 … … 611 616 612 617 return 0; 618 */ 613 619 } 614 620 -
trunk/FACT++/src/ftmctrl.cc
r11221 r11251 1844 1844 // ------------------------------------------------------------------------ 1845 1845 1846 #include "Main.h" 1847 1848 /* 1846 1849 void RunThread(StateMachineImp *io_service) 1847 1850 { … … 1851 1854 Readline::Stop(); 1852 1855 } 1853 1856 */ 1854 1857 /* 1855 1858 template<class S, class T> … … 1879 1882 int RunShell(Configuration &conf) 1880 1883 { 1884 return Main<T, StateMachineFTM<S, R>>(conf); 1885 /* 1881 1886 static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1); 1882 1887 … … 1924 1929 1925 1930 return 0; 1931 */ 1926 1932 } 1927 1933 -
trunk/FACT++/src/scheduler.cc
r11221 r11251 729 729 730 730 // ------------------------------------------------------------------------ 731 731 #include "Main.h" 732 /* 732 733 void RunThread(StateMachineImp *io_service) 733 734 { … … 737 738 Readline::Stop(); 738 739 } 739 740 */ 740 741 /* 741 742 template<class S> … … 766 767 int RunShell(Configuration &conf) 767 768 { 769 return Main<T, AutoScheduler<S>>(conf); 770 /* 768 771 static T shell(conf.GetName().c_str(), conf.Get<int>("console")!=1); 769 772 … … 812 815 813 816 return 0; 817 */ 814 818 } 815 819
Note:
See TracChangeset
for help on using the changeset viewer.