Inheritance diagram for RomRep::DevHeaderCalculator:
Public Member Functions | |
DevHeaderCalculator (Object *map, Object *hondaecu) | |
virtual bool | canEditHeader (bool column, int columnOrRow) |
virtual RomRep::MapHeaderChangeArgs * | calculateHeaders (bool col, int columnOrRow) |
virtual RomRep::MapHeaderChangeArgs * | byteChangeNotify (ByteChange *bc) |
virtual RomRep::ByteChange * | setColumnHeader (int col, String *val)[] |
see setRow Header. | |
virtual float | getReferenceArray () __gc[] |
|
|
|
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. |
|
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. |
|
Called when the client (a grid page or something) needs to know whether some header can be edited. Reimplemented from RomRep::HeaderCalculator. |
|
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. |
|
see setRow Header.
Reimplemented from RomRep::HeaderCalculator. |