Generic hardware access library
HAL::UnmaskedReadCommand Class Reference

SequencerCommand to perform a unmaskedRead operation from from a hardware device. More...

#include <UnmaskedReadCommand.hh>

Inheritance diagram for HAL::UnmaskedReadCommand:
HAL::SequencerCommand

List of all members.

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

CommandSequencesequence
std::string item
uint32_t * resultPtr
uint32_t * offsetPtr
uint32_t offset

Detailed Description

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.

Author:
Christoph Schwick
Revision:
1.1
Date:
2007/03/05 18:02:10

Definition at line 33 of file UnmaskedReadCommand.hh.


Constructor & Destructor Documentation

Parameters:
sequencedenotes 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.


Member Function Documentation

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.


Member Data Documentation

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

Definition at line 66 of file UnmaskedReadCommand.hh.

Definition at line 69 of file UnmaskedReadCommand.hh.

Definition at line 68 of file UnmaskedReadCommand.hh.

Definition at line 67 of file UnmaskedReadCommand.hh.


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