Generic hardware access library
/home/cschwick/hal/generic/include/hal/CommandSequenceReader.hh
Go to the documentation of this file.
00001 #ifndef __CommandSequenceReader
00002 #define __CommandSequenceReader
00003 
00004 #include <string>
00005 #include <list>
00006 
00007 namespace HAL {
00008 
00030 class CommandSequenceReader {
00031 public:
00038   bool next( std::list< std::string >& commandStringList );
00039 
00044   virtual void rescan() = 0;
00045   virtual ~CommandSequenceReader();
00046 protected:
00051   CommandSequenceReader();
00052   std::list< std::list< std::string > > commandList;  
00053   bool firstAccess;
00054 private:
00055   std::list< std::list< std::string > >::iterator it;
00056 };
00057 
00058 } /* namespace HAL */
00059 
00060 #endif /* __CommandSequenceReader */