Generic hardware access library
|
00001 #ifndef __LabelCommand 00002 #define __LabelCommand 00003 00004 #include <string> 00005 00006 #include "hal/SequencerCommand.hh" 00007 #include "hal/CommandSequence.hh" 00008 #include "hal/HardwareDeviceInterface.hh" 00009 00010 namespace HAL { 00011 00027 class LabelCommand : public SequencerCommand { 00028 public: 00029 LabelCommand( std::string labelName, 00030 CommandSequence& sequence ); 00031 00032 virtual ~LabelCommand() {}; 00033 00034 void excecute( const HardwareDeviceInterface& device ) const 00035 throw(); 00036 00037 private: 00038 std::string labelName; 00039 CommandSequence& sequence; 00040 }; 00041 00042 } /* namespace HAL */ 00043 00044 #endif /* __LabelCommand */