Generic hardware access library
HAL::LabelCommand Class Reference

SequencerCommand to define a new Label. More...

#include <LabelCommand.hh>

Inheritance diagram for HAL::LabelCommand:
HAL::SequencerCommand

List of all members.

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
CommandSequencesequence

Detailed Description

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.

Author:
Christoph Schwick
Revision:
1.1
Date:
2007/03/05 18:02:09

Definition at line 27 of file LabelCommand.hh.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

std::string HAL::LabelCommand::labelName [private]

Definition at line 38 of file LabelCommand.hh.

Definition at line 39 of file LabelCommand.hh.


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