Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

NewSimulatorControlAnalog Class Reference

Class for simulating Analog controls. More...

#include <new_sim_control_analog.h>

Inheritance diagram for NewSimulatorControlAnalog:

Inheritance graph
[legend]
Collaboration diagram for NewSimulatorControlAnalog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NewSimulatorControlAnalog (NewSimulatorResource *res, SaHpiRdrT rdr, SaHpiCtrlStateAnalogT state, SaHpiCtrlModeT mode)
 Constructor.
virtual ~NewSimulatorControlAnalog ()
 Destructor.
virtual bool CreateRdr (SaHpiRptEntryT &resource, SaHpiRdrT &rdr)
 A rdr structure is filled with the data.
virtual SaErrorT SetState (const SaHpiCtrlModeT &mode, const SaHpiCtrlStateT &state)
 HPI function saHpiControlSet().
virtual SaErrorT GetState (SaHpiCtrlModeT &mode, SaHpiCtrlStateT &state)
 HPI function saHpiControlGet().
virtual void Dump (NewSimulatorLog &dump) const
 Dump the control information.

Protected Attributes

SaHpiCtrlRecAnalogT m_rec
 rdr information - Analog record
SaHpiCtrlStateAnalogT m_state
 state of the control

Detailed Description

Class for simulating Analog controls.


Member Function Documentation

bool NewSimulatorControlAnalog::CreateRdr SaHpiRptEntryT &  resource,
SaHpiRdrT &  rdr
[virtual]
 

A rdr structure is filled with the data.

This method is called by method NewSimulatorRdr::Populate().

Parameters:
resource Address of resource structure
rdr Address of rdr structure
Returns:
true

Reimplemented from NewSimulatorControl.

void NewSimulatorControlAnalog::Dump NewSimulatorLog dump  )  const [virtual]
 

Dump the control information.

Parameters:
dump Address of the log

Implements NewSimulatorControl.

SaErrorT NewSimulatorControlAnalog::GetState SaHpiCtrlModeT &  mode,
SaHpiCtrlStateT &  state
[virtual]
 

HPI function saHpiControlGet().

See also the description of the function inside the specification or header file. Copying the internal values (if a read is allowed).

Parameters:
mode address to be filled
state address to be filled
Returns:
HPI return code

Implements NewSimulatorControl.

SaErrorT NewSimulatorControlAnalog::SetState const SaHpiCtrlModeT &  mode,
const SaHpiCtrlStateT &  state
[virtual]
 

HPI function saHpiControlSet().

See also the description of the function inside the specification or header file. Copying the internal values (if a read is allowed).

Parameters:
mode address to be set
state address to be set
Returns:
HPI return code

Implements NewSimulatorControl.


The documentation for this class was generated from the following files:
Generated on Mon Apr 26 14:39:03 2010 for New Simulator by  doxygen 1.4.4