Generic hardware access library
|
SequencerCommand to perform a write operation into a hardware device. More...
#include <WriteCommand.hh>
Public Member Functions | |
WriteCommand (std::string item, CommandSequence &sequence) | |
virtual | ~WriteCommand () |
void | excecute (const HardwareDeviceInterface &device) const throw ( BusAdapterException, MaskBoundaryException ) |
This routine is common to all Sequencer commands. | |
void | setVerify () |
This is used by the WriteFactory. | |
void | setOffsetPointer (uint32_t *offsetPtr) |
This is used by the WriteFactory. | |
void | setDataPointer (uint32_t *dataPtr) |
This is used by the WriteFactory. | |
void | setData (uint32_t data) |
This is used by the WriteFactory. | |
void | setOffset (uint32_t offset) |
This is used by the WriteFactory. | |
Private Attributes | |
CommandSequence & | sequence |
std::string | item |
uint32_t * | dataPtr |
uint32_t * | offsetPtr |
uint32_t | offset |
uint32_t | constantData |
HalVerifyOption | verifyFlag |
SequencerCommand to perform a write operation into a hardware device.
Syntax:
write item data [verifyFlag] [offset]
Definition at line 37 of file WriteCommand.hh.
HAL::WriteCommand::WriteCommand | ( | std::string | item, |
HAL::CommandSequence & | sequence | ||
) |
Definition at line 4 of file WriteCommand.cc.
virtual HAL::WriteCommand::~WriteCommand | ( | ) | [inline, virtual] |
Definition at line 42 of file WriteCommand.hh.
void HAL::WriteCommand::excecute | ( | const HardwareDeviceInterface & | device | ) | const throw ( BusAdapterException, MaskBoundaryException ) [virtual] |
This routine is common to all Sequencer commands.
It does what it pretends to do.
Implements HAL::SequencerCommand.
Definition at line 19 of file WriteCommand.cc.
void HAL::WriteCommand::setData | ( | uint32_t | data | ) |
This is used by the WriteFactory.
Definition at line 29 of file WriteCommand.cc.
void HAL::WriteCommand::setDataPointer | ( | uint32_t * | dataPtr | ) |
This is used by the WriteFactory.
Definition at line 37 of file WriteCommand.cc.
void HAL::WriteCommand::setOffset | ( | uint32_t | offset | ) |
This is used by the WriteFactory.
Definition at line 25 of file WriteCommand.cc.
void HAL::WriteCommand::setOffsetPointer | ( | uint32_t * | offsetPtr | ) |
This is used by the WriteFactory.
Definition at line 33 of file WriteCommand.cc.
void HAL::WriteCommand::setVerify | ( | ) |
This is used by the WriteFactory.
Definition at line 15 of file WriteCommand.cc.
uint32_t HAL::WriteCommand::constantData [private] |
Definition at line 78 of file WriteCommand.hh.
uint32_t* HAL::WriteCommand::dataPtr [private] |
Definition at line 76 of file WriteCommand.hh.
std::string HAL::WriteCommand::item [private] |
Definition at line 75 of file WriteCommand.hh.
uint32_t HAL::WriteCommand::offset [private] |
Definition at line 78 of file WriteCommand.hh.
uint32_t* HAL::WriteCommand::offsetPtr [private] |
Definition at line 77 of file WriteCommand.hh.
CommandSequence& HAL::WriteCommand::sequence [private] |
Definition at line 74 of file WriteCommand.hh.
HalVerifyOption HAL::WriteCommand::verifyFlag [private] |
Definition at line 79 of file WriteCommand.hh.