RomRep::ITBHeaderCalculator Class Reference

see HeaderCalculator More...

Inheritance diagram for RomRep::ITBHeaderCalculator:

RomRep::HeaderCalculator List of all members.

Public Member Functions

 ITBHeaderCalculator (Object *map, Object *hondaecu)
virtual bool canEditHeader (bool column, int columnOrRow)
virtual RomRep::MapHeaderChangeArgscalculateHeaders (bool col, int columnOrRow)
virtual RomRep::MapHeaderChangeArgsbyteChangeNotify (ByteChange *bc)
virtual RomRep::ByteChangesetColumnHeader (int col, String *val)[]
 see setRow Header.
virtual float getReferenceArray () __gc[]

Detailed Description

see HeaderCalculator


Constructor & Destructor Documentation

RomRep::ITBHeaderCalculator::ITBHeaderCalculator Object *  map,
Object *  hondaecu
 


Member Function Documentation

RomRep::MapHeaderChangeArgs * RomRep::ITBHeaderCalculator::byteChangeNotify ByteChange bc  )  [virtual]
 

This will be called when a byte changes in the Rom. You can then decide to or not to update your state (if necessary) and return a MapHeaderChangeArgs object. If the object you return is NOT null, then the Map will pretty much blindly dump the string array contents into its header arrays and fire the appreoriate events for the UI.

Reimplemented from RomRep::HeaderCalculator.

RomRep::MapHeaderChangeArgs * RomRep::ITBHeaderCalculator::calculateHeaders bool  col,
int  columnOrRow
[virtual]
 

This is used by the map at least initially when the map is setup by passing a HEADER_EVENT_ALL int into the column or row to indicate it wants all headers. This object should know about the map its being called on so a mechanism for grabbing the header location(s) should be in place.

Implements RomRep::HeaderCalculator.

bool RomRep::ITBHeaderCalculator::canEditHeader bool  column,
int  columnOrRow
[virtual]
 

Called when the client (a grid page or something) needs to know whether some header can be edited.

Reimplemented from RomRep::HeaderCalculator.

float RomRep::ITBHeaderCalculator::getReferenceArray  )  [virtual]
 

This is a reference array mostly for the interpolation. It should be some set of values that all share the same unit for these headers. i.e. an array of rpm values (row headers) or load values (col headers) raw or otherwise

Implements RomRep::HeaderCalculator.

RomRep::ByteChange * RomRep::ITBHeaderCalculator::setColumnHeader int  col,
String *  val
[virtual]
 

see setRow Header.

Reimplemented from RomRep::HeaderCalculator.




BRE Documentation Home