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

NewSimulatorControlText Class Reference

Class for simulating Text controls. More...

#include <new_sim_control_text.h>

Inheritance diagram for NewSimulatorControlText:

Inheritance graph
[legend]
Collaboration diagram for NewSimulatorControlText:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NewSimulatorControlText (NewSimulatorResource *res, SaHpiRdrT rdr, SaHpiCtrlStateTextT state, SaHpiCtrlModeT mode)
 Constructor.
virtual ~NewSimulatorControlText ()
 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

SaHpiCtrlRecTextT m_rec
 rdr information - Text record
SaHpiCtrlStateTextT m_state
 state of the control

Detailed Description

Class for simulating Text controls.


Member Function Documentation

bool NewSimulatorControlText::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 NewSimulatorControlText::Dump NewSimulatorLog dump  )  const [virtual]
 

Dump the control information.

Parameters:
dump Address of the log

Implements NewSimulatorControl.

SaErrorT NewSimulatorControlText::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 NewSimulatorControlText::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:12 2010 for New Simulator by  doxygen 1.4.4