Generic hardware access library
HAL::CommandSequenceReader Class Reference

The Interface for a Reader of command sequences. More...

#include <CommandSequenceReader.hh>

Inheritance diagram for HAL::CommandSequenceReader:

List of all members.

Public Member Functions

bool next (std::list< std::string > &commandStringList)
 Delivers the next command in the sequence.
virtual void rescan ()=0
 Resets the reader to the start.
virtual ~CommandSequenceReader ()

Protected Member Functions

 CommandSequenceReader ()
 The constructor is PROTECTED.

Protected Attributes

std::list< std::list
< std::string > > 
bool firstAccess

Private Attributes

std::list< std::list
< std::string > >::iterator 

Detailed Description

The Interface for a Reader of command sequences.

This interface is used in the constructor of the CommandSequence to build up the sequence. This class should not be instantiated directly. It is the child classes which implement the different methods for retrieving commands from different media (file, database, memory, ...) or from different representation formats (ASCII, XML, ...). The functionality to retrieve the data from the reader is implemented in this class.

Christoph Schwick
2007/03/05 18:02:09

Definition at line 30 of file CommandSequenceReader.hh.

Constructor & Destructor Documentation

The constructor is PROTECTED.

Nobody should ever instantiate this class directly.

Definition at line 3 of file

Member Function Documentation

bool HAL::CommandSequenceReader::next ( std::list< std::string > &  commandStringList)

Delivers the next command in the sequence.

commandStringListis a reference to a list of strings which contains the complete command.
false if there is no more command.

Definition at line 10 of file

virtual void HAL::CommandSequenceReader::rescan ( ) [pure virtual]

Resets the reader to the start.

The Sequence can now be read another time.

Implemented in HAL::CommandSequenceASCIIReader.

Member Data Documentation

std::list< std::list< std::string > > HAL::CommandSequenceReader::commandList [protected]

Definition at line 52 of file CommandSequenceReader.hh.

Definition at line 53 of file CommandSequenceReader.hh.

std::list< std::list< std::string > >::iterator HAL::CommandSequenceReader::it [private]

Definition at line 55 of file CommandSequenceReader.hh.

The documentation for this class was generated from the following files: