#include <new_sim_inventory.h>
Inheritance diagram for NewSimulatorInventory:
Public Member Functions | |
NewSimulatorInventory (NewSimulatorResource *res) | |
Constructor. | |
NewSimulatorInventory (NewSimulatorResource *res, SaHpiRdrT rdr) | |
Full qualified constructor to fill an object with the parsed data. | |
NewSimulatorInventory (NewSimulatorResource *res, SaHpiRdrT rdr, SaHpiIdrInfoT inv_info) | |
Full qualified constructor to fill an object with the parsed data including idr_info. | |
virtual | ~NewSimulatorInventory () |
Destructor. | |
virtual unsigned int | Num () const |
Return Inventory Id. | |
SaHpiEntryIdT | ValidAreaId () |
Return a new entryId. | |
bool | IsReadOnly () |
Return the ReadOnly flag. | |
void | IncUpdateCount () |
Increment Update Counter. | |
NewSimulatorInventoryArea * | FindInventoryArea (NewSimulatorInventoryArea *area) |
Find area by area pointer. | |
bool | AddInventoryArea (NewSimulatorInventoryArea *area) |
Add a inventory area to the array if it isn't already included in the array. | |
bool | SetData (SaHpiInventoryRecT idrRec) |
Set inventory record data. | |
bool | SetInfo (SaHpiIdrInfoT idrInfo) |
Set inventory information data The fields UpdateCount and NumAreas are filled with internal values and are not overwritten. | |
virtual bool | CreateRdr (SaHpiRptEntryT &resource, SaHpiRdrT &rdr) |
A rdr structure is filled with the data. | |
SaErrorT | GetIdrInfo (SaHpiIdrInfoT &idrInfo) |
HPI function saHpiIdrInfoGet(). | |
SaErrorT | GetAreaHeader (SaHpiIdrAreaTypeT type, SaHpiEntryIdT areaId, SaHpiEntryIdT &nextId, SaHpiIdrAreaHeaderT &header) |
HPI function saHpiIdrAreaHeaderGet(). | |
SaErrorT | AddArea (SaHpiIdrAreaTypeT type, SaHpiEntryIdT &newId) |
HPI function saHpiIdrAreaAdd(). | |
SaErrorT | AddAreaById (SaHpiIdrAreaTypeT type, SaHpiEntryIdT id) |
HPI function saHpiIdrAreaAddById(). | |
SaErrorT | DeleteArea (SaHpiEntryIdT id) |
HPI function saHpiIdrAreaDel(). | |
SaErrorT | GetField (SaHpiEntryIdT areaId, SaHpiIdrFieldTypeT fieldType, SaHpiEntryIdT fieldId, SaHpiEntryIdT &nextId, SaHpiIdrFieldT &field) |
Start for HPI function saHpiIdrFieldGet(). | |
SaErrorT | AddField (SaHpiIdrFieldT &field) |
Start for HPI function saHpiIdrFieldAdd(). | |
SaErrorT | AddFieldById (SaHpiIdrFieldT &field) |
Start for HPI function saHpiIdrFieldAddById(). | |
SaErrorT | SetField (SaHpiIdrFieldT field) |
Start for HPI function saHpiIdrFieldSet(). | |
SaErrorT | DeleteField (SaHpiEntryIdT areaId, SaHpiEntryIdT fieldId) |
Start for HPI function saHpiIdrFieldDelete(). | |
virtual void | Dump (NewSimulatorLog &dump) const |
Dump the Inventory information. |
|
HPI function saHpiIdrAreaAdd(). See also the description of the function inside the specification or header file.
|
|
HPI function saHpiIdrAreaAddById(). See also the description of the function inside the specification or header file.
|
|
Start for HPI function saHpiIdrFieldAdd(). See also the description of the function inside the specification or header file. Inside the method the correct AreaId is identified and afterwards NewSimulatorInventoryArea::AddField() is called
|
|
Start for HPI function saHpiIdrFieldAddById(). See also the description of the function inside the specification or header file. Inside the method the correct AreaId is identified and afterwards NewSimulatorInventoryArea::AddFieldById() is called
|
|
Add a inventory area to the array if it isn't already included in the array.
|
|
A rdr structure is filled with the data. This method is called by method NewSimulatorRdr::Populate().
Reimplemented from NewSimulatorRdr. |
|
HPI function saHpiIdrAreaDel(). See also the description of the function inside the specification or header file.
|
|
Start for HPI function saHpiIdrFieldDelete(). See also the description of the function inside the specification or header file. Inside the method the correct AreaId is identified and afterwards NewSimulatorInventoryArea::DeleteField() is called
|
|
Dump the Inventory information.
Implements NewSimulatorRdr. |
|
Find area by area pointer.
|
|
HPI function saHpiIdrAreaHeaderGet(). See also the description of the function inside the specification or header file. Copying the internal reading values (if a read is allowed).
|
|
Start for HPI function saHpiIdrFieldGet(). See also the description of the function inside the specification or header file. Inside the method the correct AreaId is identified and afterwards NewSimulatorInventoryArea::GetField() is called.
|
|
HPI function saHpiIdrInfoGet(). See also the description of the function inside the specification or header file. Copying the internal reading values (if a read is allowed).
|
|
Set inventory record data.
|
|
Start for HPI function saHpiIdrFieldSet(). See also the description of the function inside the specification or header file. Inside the method the correct AreaId is identified and afterwards NewSimulatorInventoryArea::SetField() is called
|
|
Set inventory information data The fields UpdateCount and NumAreas are filled with internal values and are not overwritten.
|