Generic hardware access library
|
The class constructs Add Commands. More...
#include <AddFactory.hh>
Public Member Functions | |
virtual | ~AddFactory () |
SequencerCommand * | create (std::list< std::string > &arguments, const AddressTableInterface &addressTable, CommandSequence &sequence) throw (SequencerSyntaxError) |
The class constructs Add Commands.
For the syntax see AddCommand.
Definition at line 28 of file AddFactory.hh.
virtual HAL::AddFactory::~AddFactory | ( | ) | [inline, virtual] |
Definition at line 30 of file AddFactory.hh.
HAL::SequencerCommand * HAL::AddFactory::create | ( | std::list< std::string > & | arguments, |
const AddressTableInterface & | addressTable, | ||
HAL::CommandSequence & | sequence | ||
) | throw (SequencerSyntaxError) [virtual] |
arguments | must contain two items: the Variable Name and the value to be added (constant or variable name) |
addressTable | is used to check if the item given in the list of arguments is existing. |
SequencerSyntaxError | is thrown when item does not exist. |
Implements HAL::AbstractCommandFactory.
Definition at line 3 of file AddFactory.cc.