Generic hardware access library
|
SequencerCommand to set a single bit in the hardware. More...
#include <ResetBitCommand.hh>
Public Member Functions | |
ResetBitCommand (std::string item, CommandSequence &sequence) | |
virtual | ~ResetBitCommand () |
void | excecute (const HardwareDeviceInterface &device) const throw ( BusAdapterException ) |
This routine is common to all Sequencer commands. | |
void | setVerify () |
This is used by the WriteFactory. | |
void | setOffset (uint32_t offset) |
This is needed by the ResetBitFactory. | |
void | setOffsetPointer (uint32_t *offsetPtr) |
This is needed by the ResetBitFactory. | |
Private Attributes | |
CommandSequence & | sequence |
std::string | item |
uint32_t * | offsetPtr |
uint32_t | offset |
HalVerifyOption | verifyFlag |
SequencerCommand to set a single bit in the hardware.
The syntax is :
resetBit item [verifyFlag] [offset]
Definition at line 36 of file ResetBitCommand.hh.
HAL::ResetBitCommand::ResetBitCommand | ( | std::string | item, |
HAL::CommandSequence & | sequence | ||
) |
Definition at line 4 of file ResetBitCommand.cc.
virtual HAL::ResetBitCommand::~ResetBitCommand | ( | ) | [inline, virtual] |
Definition at line 42 of file ResetBitCommand.hh.
void HAL::ResetBitCommand::excecute | ( | const HardwareDeviceInterface & | device | ) | const throw ( BusAdapterException ) [virtual] |
This routine is common to all Sequencer commands.
It does what it pretends to do.
Implements HAL::SequencerCommand.
Definition at line 13 of file ResetBitCommand.cc.
void HAL::ResetBitCommand::setOffset | ( | uint32_t | offset | ) |
This is needed by the ResetBitFactory.
Definition at line 22 of file ResetBitCommand.cc.
void HAL::ResetBitCommand::setOffsetPointer | ( | uint32_t * | offsetPtr | ) |
This is needed by the ResetBitFactory.
Definition at line 26 of file ResetBitCommand.cc.
void HAL::ResetBitCommand::setVerify | ( | ) |
This is used by the WriteFactory.
Definition at line 18 of file ResetBitCommand.cc.
std::string HAL::ResetBitCommand::item [private] |
Definition at line 64 of file ResetBitCommand.hh.
uint32_t HAL::ResetBitCommand::offset [private] |
Definition at line 66 of file ResetBitCommand.hh.
uint32_t* HAL::ResetBitCommand::offsetPtr [private] |
Definition at line 65 of file ResetBitCommand.hh.
CommandSequence& HAL::ResetBitCommand::sequence [private] |
Definition at line 63 of file ResetBitCommand.hh.
Definition at line 67 of file ResetBitCommand.hh.