RomRep::VT0FuelMap Class Reference

Inheritance diagram for RomRep::VT0FuelMap:

RomRep::Obd0FuelMap RomRep::FuelMap RomRep::Map RomRep::ByteChangeNotify RomRep::DevFuelMap List of all members.

Public Member Functions

 VT0FuelMap (int x, int y, unsigned int loc, unsigned char themap __gc[,], unsigned int multloc, unsigned char mltarray __gc[], unsigned char fil __gc[], int colScalarLoc, int rowScalarLoc, int ind, int mod)
 VT0FuelMap (bool calchead, int x, int y, unsigned int loc, unsigned char themap __gc[,], unsigned int multloc, unsigned char mltarray __gc[], unsigned char fil __gc[], int colScalarLoc, int rowScalarLoc, int ind, int mod)
virtual float calculate (int x, int y, int intval)
 --------- override musts:-----------///
virtual int calculate (int x, int y, float mapval)
virtual void byteChangeNotify (ByteChange *bc)

Static Public Member Functions

static float calculateInjMs (int value)
static int calculateInjByte (float injMs, int multCoeff)

Constructor & Destructor Documentation

RomRep::VT0FuelMap::VT0FuelMap int  x,
int  y,
unsigned int  loc,
unsigned char themap  __gc[,],
unsigned int  multloc,
unsigned char mltarray  __gc[],
unsigned char fil  __gc[],
int  colScalarLoc,
int  rowScalarLoc,
int  ind,
int  mod
 

RomRep::VT0FuelMap::VT0FuelMap bool  calchead,
int  x,
int  y,
unsigned int  loc,
unsigned char themap  __gc[,],
unsigned int  multloc,
unsigned char mltarray  __gc[],
unsigned char fil  __gc[],
int  colScalarLoc,
int  rowScalarLoc,
int  ind,
int  mod
 


Member Function Documentation

virtual void RomRep::VT0FuelMap::byteChangeNotify ByteChange bc  )  [virtual]
 

For each inherited class, this will see if the byte location applies to their object and then make the appropriate updates.

Reimplemented from RomRep::Obd0FuelMap.

int RomRep::VT0FuelMap::calculate int  x,
int  y,
float  mapval
[virtual]
 

Takes real world value and returns an integer (0-255 byte)

This must be overridden so this base class can properly convert between bytes and real world values.

Reimplemented from RomRep::Obd0FuelMap.

float RomRep::VT0FuelMap::calculate int  x,
int  y,
int  intval
[virtual]
 

--------- override musts:-----------///

Reimplemented from RomRep::Obd0FuelMap.

int RomRep::VT0FuelMap::calculateInjByte float  injMs,
int  multCoeff
[static]
 

Calculates the byte from the milliseconds.

Parameters:
injMs is the cell's duration in milliseconds
multCoeff is 2^multiplier for that column

float RomRep::VT0FuelMap::calculateInjMs int  value  )  [static]
 

Calculates the milliseconds of injector duration from a raw value.

Parameters:
value should be raw_map_value* 2^multiplier



BRE Documentation Home