Generic hardware access library
HAL::UnmaskedWriteCommand Class Reference

SequencerCommand to perform a unmaskedWrite operation into a hardware device. More...

#include <UnmaskedWriteCommand.hh>

Inheritance diagram for HAL::UnmaskedWriteCommand:
HAL::SequencerCommand

List of all members.

Public Member Functions

 UnmaskedWriteCommand (std::string item, CommandSequence &sequence)
virtual ~UnmaskedWriteCommand ()
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 setOffsetPointer (uint32_t *offsetPtr)
 This is used by the UnmaskedWriteFactory.
void setDataPointer (uint32_t *dataPtr)
 This is used by the UnmaskedWriteFactory.
void setData (uint32_t data)
 This is used by the UnmaskedWriteFactory.
void setOffset (uint32_t offset)
 This is used by the UnmaskedWriteFactory.

Private Attributes

CommandSequencesequence
std::string item
uint32_t * dataPtr
uint32_t * offsetPtr
uint32_t offset
uint32_t constantData
HalVerifyOption verifyFlag

Detailed Description

SequencerCommand to perform a unmaskedWrite operation into a hardware device.

Syntax:

unmaskedWrite item data [verifyFlag] [offset]

  • 'verifyFlag' is an optional parameter which must have the value "HAL_DO_VERIFY" or "HAL_NO_VERIFY".
  • 'offset' is an optional parameter. 'data' and 'offset' might be variables or constants. If 'offset' is provided also 'verifyFlag' must be provided.
See also:
UnmaskedWriteFactory
Author:
Christoph Schwick
Revision:
1.1
Date:
2007/03/05 18:02:10

Definition at line 37 of file UnmaskedWriteCommand.hh.


Constructor & Destructor Documentation

Definition at line 4 of file UnmaskedWriteCommand.cc.

virtual HAL::UnmaskedWriteCommand::~UnmaskedWriteCommand ( ) [inline, virtual]

Definition at line 42 of file UnmaskedWriteCommand.hh.


Member Function Documentation

void HAL::UnmaskedWriteCommand::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 15 of file UnmaskedWriteCommand.cc.

void HAL::UnmaskedWriteCommand::setData ( uint32_t  data)

This is used by the UnmaskedWriteFactory.

Definition at line 28 of file UnmaskedWriteCommand.cc.

void HAL::UnmaskedWriteCommand::setDataPointer ( uint32_t *  dataPtr)

This is used by the UnmaskedWriteFactory.

Definition at line 36 of file UnmaskedWriteCommand.cc.

void HAL::UnmaskedWriteCommand::setOffset ( uint32_t  offset)

This is used by the UnmaskedWriteFactory.

Definition at line 24 of file UnmaskedWriteCommand.cc.

void HAL::UnmaskedWriteCommand::setOffsetPointer ( uint32_t *  offsetPtr)

This is used by the UnmaskedWriteFactory.

Definition at line 32 of file UnmaskedWriteCommand.cc.

This is used by the WriteFactory.

Definition at line 20 of file UnmaskedWriteCommand.cc.


Member Data Documentation

Definition at line 77 of file UnmaskedWriteCommand.hh.

Definition at line 75 of file UnmaskedWriteCommand.hh.

std::string HAL::UnmaskedWriteCommand::item [private]

Definition at line 74 of file UnmaskedWriteCommand.hh.

Definition at line 77 of file UnmaskedWriteCommand.hh.

Definition at line 76 of file UnmaskedWriteCommand.hh.


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