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

NewSimulatorFumiBank Class Reference

Class for simulating a fumi bank. More...

#include <new_sim_fumi_data.h>

Collaboration diagram for NewSimulatorFumiBank:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NewSimulatorFumiBank ()
 Constructor.
virtual ~NewSimulatorFumiBank ()
 Destructor.
virtual SaHpiUint8T Num () const
 Return bank id.
bool SetId (SaHpiUint8T id)
 Set the bank id.
SaHpiFumiSourceInfoT GetSource () const
 Return source information.
bool SetData (SaHpiFumiSourceInfoT src)
 Set bank source information.
SaHpiFumiBankInfoT GetTarget () const
 Return target information.
bool SetData (SaHpiFumiBankInfoT trg)
 Set bank target information.
SaHpiFumiLogicalBankInfoT GetLogical () const
 Return logical target information.
bool SetData (SaHpiFumiLogicalBankInfoT lgc)
 Set bank logical target information.
bool AddSourceComponent (NewSimulatorFumiComponent *component)
 Add source information to a component.
bool AddTargetComponent (NewSimulatorFumiComponent *component)
 Add target information to a component.
bool AddLogicalTargetComponent (NewSimulatorFumiComponent *component)
 Add logical target information to a component.
SaErrorT SetSource (SaHpiTextBufferT &src)
 HPI function saHpiFumiSourceSet().
SaErrorT GetSource (SaHpiFumiSourceInfoT &src)
 HPI function saHpiFumiSourceGet().
SaErrorT GetTarget (SaHpiFumiBankInfoT &trg)
 HPI function saHpiFumiTargetInfoGet().
SaErrorT GetLogicalTarget (SaHpiFumiLogicalBankInfoT &trg)
 HPI function saHpiFumiLogicalTargetInfoGet().
virtual void Dump (NewSimulatorLog &dump) const
 Dump Fumi Bank information.

Detailed Description

Class for simulating a fumi bank.


Member Function Documentation

bool NewSimulatorFumiBank::AddLogicalTargetComponent NewSimulatorFumiComponent component  ) 
 

Add logical target information to a component.

The logical target information is copied from the Component object.

Parameters:
component pointer of NewSimulatorFumiComponent object including information
Returns:
true

bool NewSimulatorFumiBank::AddSourceComponent NewSimulatorFumiComponent component  ) 
 

Add source information to a component.

The source information is copied from the Component object.

Parameters:
component pointer of NewSimulatorFumiComponent object including information
Returns:
true

bool NewSimulatorFumiBank::AddTargetComponent NewSimulatorFumiComponent component  ) 
 

Add target information to a component.

The target information is copied from the Component object.

Parameters:
component pointer of NewSimulatorFumiComponent object including information
Returns:
true

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

Dump Fumi Bank information.

Parameters:
dump Address of the log

SaErrorT NewSimulatorFumiBank::GetLogicalTarget SaHpiFumiLogicalBankInfoT &  trg  ) 
 

HPI function saHpiFumiLogicalTargetInfoGet().

See also the description of the function inside the specification or header file.

Parameters:
trg address of logical bank information to be filled
Returns:
SA_OK

SaErrorT NewSimulatorFumiBank::GetSource SaHpiFumiSourceInfoT &  src  ) 
 

HPI function saHpiFumiSourceGet().

See also the description of the function inside the specification or header file.

Parameters:
src address of SaHpiFumiSourceInfo structure to be filled
Returns:
HPI return code

SaErrorT NewSimulatorFumiBank::GetTarget SaHpiFumiBankInfoT &  trg  ) 
 

HPI function saHpiFumiTargetInfoGet().

See also the description of the function inside the specification or header file.

Parameters:
trg address of bank information to be filled
Returns:
SA_OK

bool NewSimulatorFumiBank::SetData SaHpiFumiLogicalBankInfoT  lgc  ) 
 

Set bank logical target information.

Parameters:
lgc source information
Returns:
true

bool NewSimulatorFumiBank::SetData SaHpiFumiBankInfoT  trg  ) 
 

Set bank target information.

Parameters:
trg bank information
Returns:
true

bool NewSimulatorFumiBank::SetData SaHpiFumiSourceInfoT  src  ) 
 

Set bank source information.

Parameters:
src source information
Returns:
true

bool NewSimulatorFumiBank::SetId SaHpiUint8T  id  ) 
 

Set the bank id.

Parameters:
id value to be set
Returns:
bool if successful

SaErrorT NewSimulatorFumiBank::SetSource SaHpiTextBufferT &  src  ) 
 

HPI function saHpiFumiSourceSet().

See also the description of the function inside the specification or header file.

Parameters:
src text buffer including the source location 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