Generic hardware access library
|
SequencerCommand to perform a unmaskedRead operation from from a hardware device. More...
#include <UnmaskedReadCommand.hh>
Public Member Functions | |
UnmaskedReadCommand (std::string item, CommandSequence &sequence) | |
virtual | ~UnmaskedReadCommand () |
void | excecute (const HardwareDeviceInterface &device) const throw ( IllegalOperationException, BusAdapterException ) |
This routine is common to all Sequencer commands. | |
void | setOffsetPointer (uint32_t *offsetPtr) |
This is used by the UnmaskedReadFactory. | |
void | setResultPointer (uint32_t *dataPtr) |
This is used by the UnmaskedReadFactory. | |
void | setOffset (uint32_t offset) |
This is used by the UnmaskedReadFactory. | |
Private Attributes | |
CommandSequence & | sequence |
std::string | item |
uint32_t * | resultPtr |
uint32_t * | offsetPtr |
uint32_t | offset |
SequencerCommand to perform a unmaskedRead operation from from a hardware device.
Syntax :
unmaskedRead item $varname [offset]
'offset' is an optional paramenter and might be a constant or a variable.
Definition at line 33 of file UnmaskedReadCommand.hh.
HAL::UnmaskedReadCommand::UnmaskedReadCommand | ( | std::string | item, |
HAL::CommandSequence & | sequence | ||
) |
sequence | denotes the Sequence to which this command belongs. This reference is needed to store the read value into the variable. |
Definition at line 4 of file UnmaskedReadCommand.cc.
virtual HAL::UnmaskedReadCommand::~UnmaskedReadCommand | ( | ) | [inline, virtual] |
Definition at line 43 of file UnmaskedReadCommand.hh.
void HAL::UnmaskedReadCommand::excecute | ( | const HardwareDeviceInterface & | device | ) | const throw ( IllegalOperationException, BusAdapterException ) [virtual] |
This routine is common to all Sequencer commands.
It does what it pretends to do.
Implements HAL::SequencerCommand.
Definition at line 12 of file UnmaskedReadCommand.cc.
void HAL::UnmaskedReadCommand::setOffset | ( | uint32_t | offset | ) |
This is used by the UnmaskedReadFactory.
Definition at line 18 of file UnmaskedReadCommand.cc.
void HAL::UnmaskedReadCommand::setOffsetPointer | ( | uint32_t * | offsetPtr | ) |
This is used by the UnmaskedReadFactory.
Definition at line 22 of file UnmaskedReadCommand.cc.
void HAL::UnmaskedReadCommand::setResultPointer | ( | uint32_t * | dataPtr | ) |
This is used by the UnmaskedReadFactory.
Definition at line 26 of file UnmaskedReadCommand.cc.
std::string HAL::UnmaskedReadCommand::item [private] |
Definition at line 66 of file UnmaskedReadCommand.hh.
uint32_t HAL::UnmaskedReadCommand::offset [private] |
Definition at line 69 of file UnmaskedReadCommand.hh.
uint32_t* HAL::UnmaskedReadCommand::offsetPtr [private] |
Definition at line 68 of file UnmaskedReadCommand.hh.
uint32_t* HAL::UnmaskedReadCommand::resultPtr [private] |
Definition at line 67 of file UnmaskedReadCommand.hh.
Definition at line 65 of file UnmaskedReadCommand.hh.