RomRep::NGHeaderCalculator Class Reference

Inheritance diagram for RomRep::NGHeaderCalculator:

RomRep::HeaderCalculator List of all members.

Public Member Functions

 NGHeaderCalculator (Object *map, Object *hondaecu)
virtual RomRep::MapHeaderChangeArgscalculateHeaders (bool col, int columnOrRow)
virtual RomRep::MapHeaderChangeArgsbyteChangeNotify (ByteChange *bc)
virtual float getReferenceArray () __gc[]

Constructor & Destructor Documentation

RomRep::NGHeaderCalculator::NGHeaderCalculator Object *  map,
Object *  hondaecu
 


Member Function Documentation

RomRep::MapHeaderChangeArgs * RomRep::NGHeaderCalculator::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::NGHeaderCalculator::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.

float RomRep::NGHeaderCalculator::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.




BRE Documentation Home