Generic hardware access library
|
SequencerCommand to define a new Label. More...
#include <LabelCommand.hh>
Public Member Functions | |
LabelCommand (std::string labelName, CommandSequence &sequence) | |
virtual | ~LabelCommand () |
void | excecute (const HardwareDeviceInterface &device) const throw () |
This routine is common to all Sequencer commands. | |
Private Attributes | |
std::string | labelName |
CommandSequence & | sequence |
SequencerCommand to define a new Label.
The syntax is "label {name}". The name can be any string. This command defines a jump-target for the Goto command.
Definition at line 27 of file LabelCommand.hh.
HAL::LabelCommand::LabelCommand | ( | std::string | labelName, |
HAL::CommandSequence & | sequence | ||
) |
Definition at line 4 of file LabelCommand.cc.
virtual HAL::LabelCommand::~LabelCommand | ( | ) | [inline, virtual] |
Definition at line 32 of file LabelCommand.hh.
void HAL::LabelCommand::excecute | ( | const HardwareDeviceInterface & | device | ) | const throw () [virtual] |
This routine is common to all Sequencer commands.
It does what it pretends to do.
Implements HAL::SequencerCommand.
Definition at line 11 of file LabelCommand.cc.
std::string HAL::LabelCommand::labelName [private] |
Definition at line 38 of file LabelCommand.hh.
CommandSequence& HAL::LabelCommand::sequence [private] |
Definition at line 39 of file LabelCommand.hh.