#include <new_sim_control.h>
Inheritance diagram for NewSimulatorControl:
Public Member Functions | |
NewSimulatorControl (NewSimulatorResource *res, SaHpiRdrT rdr, SaHpiCtrlModeT ctrl_mode) | |
Constructor. | |
virtual | ~NewSimulatorControl () |
Destructor. | |
virtual unsigned int | Num () const |
sensor num, control num, fru device id | |
virtual bool | CreateRdr (SaHpiRptEntryT &resource, SaHpiRdrT &rdr) |
A rdr structure is filled with the data. | |
virtual SaErrorT | SetState (const SaHpiCtrlModeT &mode, const SaHpiCtrlStateT &state)=0 |
abstract method for hpi function saHpiControlStateSet | |
virtual SaErrorT | GetState (SaHpiCtrlModeT &mode, SaHpiCtrlStateT &state)=0 |
abstract method for hpi function saHpiControlStateGet | |
virtual SaErrorT | GetType (SaHpiCtrlTypeT &type) |
method for hpi function saHpiControlTypeGet | |
virtual void | Dump (NewSimulatorLog &dump) const =0 |
abstract method to dump control information | |
Protected Attributes | |
SaHpiCtrlNumT | m_num |
rdr information - Num | |
SaHpiCtrlOutputTypeT | m_output_type |
rdr information - Output Type | |
SaHpiCtrlTypeT | m_type |
rdr information - Type | |
SaHpiCtrlDefaultModeT | m_def_mode |
rdr information - Default Mode | |
SaHpiBoolT | m_write_only |
rdr information - WriteOnly | |
SaHpiUint32T | m_oem |
rdr information - Oem | |
SaHpiCtrlModeT | m_ctrl_mode |
mode of the control |
|
A rdr structure is filled with the data. This method is called by method NewSimulatorRdr::Populate().
Reimplemented from NewSimulatorRdr. Reimplemented in NewSimulatorControlAnalog, NewSimulatorControlDigital, NewSimulatorControlDiscrete, NewSimulatorControlOem, NewSimulatorControlStream, and NewSimulatorControlText. |
|
method for hpi function saHpiControlTypeGet See also the description of the function inside the specification or header file. Copying the internal reading values (if a read is allowed).
|