#include <new_sim_rdr.h>
Inheritance diagram for NewSimulatorRdr:
Public Member Functions | |
NewSimulatorRdr (NewSimulatorResource *res, SaHpiRdrTypeT type) | |
Constructor. | |
NewSimulatorRdr (NewSimulatorResource *res, SaHpiRdrTypeT type, SaHpiEntityPathT entity, SaHpiBoolT isFru, SaHpiTextBufferT idString) | |
Full qualified constructor. | |
virtual | ~NewSimulatorRdr () |
Destructor. | |
NewSimulatorResource *& | Resource () |
returns a reference of the resource reference from the class | |
SaHpiEntryIdT & | RecordId () |
returns a reference of the record id | |
SaHpiRdrTypeT & | Type () |
returns a reference of the rdr type | |
SaHpiBoolT & | IsFru () |
returns a reference of the isFru variable | |
NewSimulatorTextBuffer & | IdString () |
returns a reference of the idString | |
const NewSimulatorTextBuffer & | IdString () const |
returns a reference of the idString | |
NewSimulatorEntityPath & | EntityPath () |
returns a reference of theEntity Path | |
NewSimulatorDomain * | Domain () |
Return a pointer on the own domain. | |
virtual bool | CreateRdr (SaHpiRptEntryT &resource, SaHpiRdrT &rdr) |
create an RDR sensor record | |
virtual unsigned int | Num () const =0 |
sensor num, control num, fru device id | |
virtual void | Dump (NewSimulatorLog &dump) const =0 |
Dump the internal data. | |
virtual bool | Populate (GSList **) |
Add the Rdr to the rptcache. | |
Protected Attributes | |
NewSimulatorResource * | m_resource |
Holds a reference on the resource for which the rdr is defined. | |
SaHpiEntryIdT | m_record_id |
id of the rdr entry | |
SaHpiRdrTypeT | m_type |
type of the rdr entry | |
NewSimulatorEntityPath | m_entity_path |
entity path where it can be found | |
SaHpiBoolT | m_is_fru |
isFru flag - please see also specification about the usage of this flag | |
NewSimulatorTextBuffer | m_id_string |
id string with the name of the entry |
|
create an RDR sensor record This method is called by method NewSimulatorRdr::Populate().
Reimplemented in NewSimulatorAnnunciator, NewSimulatorControl, NewSimulatorControlAnalog, NewSimulatorControlDigital, NewSimulatorControlDiscrete, NewSimulatorControlOem, NewSimulatorControlStream, NewSimulatorControlText, NewSimulatorDimi, NewSimulatorFumi, NewSimulatorInventory, NewSimulatorSensor, NewSimulatorSensorCommon, NewSimulatorSensorThreshold, and NewSimulatorWatchdog. |
|
Return a pointer on the own domain.
|
|
Add the Rdr to the rptcache. In this function the object is added to the rptcache by calling oh_add_rdr and afterwards append on the given list.
|