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

NewSimulatorFumi Class Reference

Class for simulating Fumi. More...

#include <new_sim_fumi.h>

Inheritance diagram for NewSimulatorFumi:

Inheritance graph
[legend]
Collaboration diagram for NewSimulatorFumi:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NewSimulatorFumi (NewSimulatorResource *res)
 Constructor.
 NewSimulatorFumi (NewSimulatorResource *res, SaHpiRdrT rdr)
 Full qualified constructor to fill an object with the parsed data.
virtual ~NewSimulatorFumi ()
 Destructor.
virtual unsigned int Num () const
 Return FumiId.
bool SetData (SaHpiFumiRecT fumiRec)
 Set fumi record data.
bool SetInfo (SaHpiFumiSpecInfoT spec, SaHpiFumiServiceImpactDataT impact, SaHpiBoolT rbDis)
 Set fumi information data.
bool SetBankSource (NewSimulatorFumiBank *bank)
 Set source information for a FumiBank.
bool SetBankTarget (NewSimulatorFumiBank *bank)
 Set target information for a FumiBank.
bool SetBankLogical (NewSimulatorFumiBank *bank)
 Set logical target information for a FumiBank.
virtual bool CreateRdr (SaHpiRptEntryT &resource, SaHpiRdrT &rdr)
 A rdr structure is filled with the data.
SaErrorT GetSpecInfo (SaHpiFumiSpecInfoT &spec)
 HPI function saHpiFumiSpecInfoGet().
SaErrorT GetImpact (SaHpiFumiServiceImpactDataT &impact)
 HPI function saHpiFumiServiceImpactGet().
SaErrorT SetSource (SaHpiBankNumT bank, SaHpiTextBufferT &src)
 HPI function saHpiFumiSourceSet().
SaErrorT ValidateSource (SaHpiBankNumT bank)
SaErrorT GetSource (SaHpiBankNumT bank, SaHpiFumiSourceInfoT &src)
 HPI function saHpiFumiSourceGet().
SaErrorT GetComponentSource (SaHpiBankNumT bank, SaHpiEntryIdT comp, SaHpiEntryIdT &next, SaHpiFumiComponentInfoT &inf)
SaErrorT GetTarget (SaHpiBankNumT bank, SaHpiFumiBankInfoT &trg)
 HPI function saHpiFumiTargetInfoGet().
SaErrorT GetComponentTarget (SaHpiBankNumT bank, SaHpiEntryIdT comp, SaHpiEntryIdT &next, SaHpiFumiComponentInfoT &inf)
SaErrorT GetTargetLogical (SaHpiFumiLogicalBankInfoT &trg)
 HPI function saHpiFumiLogicalTargetInfoGet().
SaErrorT GetComponentTargetLogical (SaHpiEntryIdT comp, SaHpiEntryIdT &next, SaHpiFumiLogicalComponentInfoT &inf)
SaErrorT StartBackup ()
SaErrorT SetOrder (SaHpiBankNumT bank, SaHpiUint32T pos)
SaErrorT CopyBank (SaHpiBankNumT bank, SaHpiBankNumT dest)
SaErrorT Install (SaHpiBankNumT bank)
SaErrorT GetStatus (SaHpiBankNumT bank, SaHpiFumiUpgradeStatusT &status)
SaErrorT VerifyTarget (SaHpiBankNumT bank)
SaErrorT VerifyTargetMain ()
SaErrorT CancelUpgrade (SaHpiBankNumT bank)
SaErrorT GetRollbackFlag (SaHpiBoolT &rollb)
SaErrorT SetRollbackFlag (SaHpiBoolT rollb)
SaErrorT Rollback ()
SaErrorT Activate ()
SaErrorT Activate (SaHpiBoolT log)
SaErrorT Cleanup (SaHpiBankNumT bank)
virtual void Dump (NewSimulatorLog &dump) const
 Dump the Fumi information.

Detailed Description

Class for simulating Fumi.


Member Function Documentation

bool NewSimulatorFumi::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 NewSimulatorRdr.

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

Dump the Fumi information.

Parameters:
dump Address of the log

Implements NewSimulatorRdr.

SaErrorT NewSimulatorFumi::GetImpact SaHpiFumiServiceImpactDataT &  impact  ) 
 

HPI function saHpiFumiServiceImpactGet().

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

Parameters:
impact address of the FumiServiceImpactData record to be filled
Returns:
HPI return code

SaErrorT NewSimulatorFumi::GetSource SaHpiBankNumT  bank,
SaHpiFumiSourceInfoT &  src
 

HPI function saHpiFumiSourceGet().

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

Parameters:
bank number of bank
src address of source info structure to be filled
Returns:
HPI return code

SaErrorT NewSimulatorFumi::GetSpecInfo SaHpiFumiSpecInfoT &  spec  ) 
 

HPI function saHpiFumiSpecInfoGet().

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

Parameters:
spec address of the FumiSpecInfo record to be filled
Returns:
HPI return code

SaErrorT NewSimulatorFumi::GetTarget SaHpiBankNumT  bank,
SaHpiFumiBankInfoT &  trg
 

HPI function saHpiFumiTargetInfoGet().

See also the description of the function inside the specification or header file. Copying the internal values (if a read is allowed). Inside the function the bank information is get by a call of NewSimulatorFumiBank::GetTarget.

Parameters:
bank number of bank
trg address of target info structure to be filled
Returns:
HPI return code

SaErrorT NewSimulatorFumi::GetTargetLogical SaHpiFumiLogicalBankInfoT &  trg  ) 
 

HPI function saHpiFumiLogicalTargetInfoGet().

See also the description of the function inside the specification or header file. Copying the internal values (if a read is allowed). Inside the function the bank information is get by a call of NewSimulatorFumiBank::GetLogicalTarget.

Parameters:
trg address of logical target info structure to be filled
Returns:
HPI return code

bool NewSimulatorFumi::SetBankLogical NewSimulatorFumiBank bank  ) 
 

Set logical target information for a FumiBank.

Parameters:
bank pointer on a NewSimulatorFumiBank object with the logical target information
Returns:
true

bool NewSimulatorFumi::SetBankSource NewSimulatorFumiBank bank  ) 
 

Set source information for a FumiBank.

Parameters:
bank pointer on a NewSimulatorFumiBank object with the source information
Returns:
true

bool NewSimulatorFumi::SetBankTarget NewSimulatorFumiBank bank  ) 
 

Set target information for a FumiBank.

Parameters:
bank pointer on a NewSimulatorFumiBank object with the target information
Returns:
true

bool NewSimulatorFumi::SetData SaHpiFumiRecT  fumiRec  ) 
 

Set fumi record data.

Parameters:
fumiRec FumiRecord data
Returns:
true (simple copy)

bool NewSimulatorFumi::SetInfo SaHpiFumiSpecInfoT  spec,
SaHpiFumiServiceImpactDataT  impact,
SaHpiBoolT  rbDis
 

Set fumi information data.

Parameters:
spec record with specification information
impact record with information about affected entities
rbDis flag if automatic rollback is disabled or not
Returns:
true

SaErrorT NewSimulatorFumi::SetSource SaHpiBankNumT  bank,
SaHpiTextBufferT &  src
 

HPI function saHpiFumiSourceSet().

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

Parameters:
bank number of bank
src text buffer including the source information
Returns:
HPI return code


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