Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

autoConfig.h

00001 #include <list>
00002 
00003 #include "SctApi.h"
00004 
00005 namespace SctApi {
00006   namespace AutoConf {
00007 
00008     struct AutoResult {
00009       unsigned long partition;
00010       unsigned long crate;
00011       unsigned long rod;
00012       unsigned long tx;
00013       unsigned long rx;
00014 
00015       AutoResult(unsigned long _partition, unsigned long _crate, unsigned long _rod, 
00016                  unsigned long _tx, unsigned long _rx) : partition(_partition), crate(_crate), rod(_rod), 
00017            tx(_tx), rx(_rx) {}
00018     };
00019 
00020 class AutoConfigurer {
00021   SctApi::SctApi &api;
00022 
00023   std::list<AutoResult> results;
00024  public:
00025   AutoConfigurer(SctApi::SctApi &a) : api(a) {}
00026 
00027   void run();
00028 
00029   std::list<AutoResult> getResults();
00030 };
00031 
00032   }
00033 }

Generated on Thu Jul 15 09:50:43 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5