bre20::Common Class Reference

List of all members.

Static Public Member Functions

static bool checkCom (String *com)
static void handleDoubleKeyPress (TextBox *box, System::Windows::Forms::KeyPressEventArgs *e, bool isSigned)
static void handleIntKeyPress (TextBox *box, System::Windows::Forms::KeyPressEventArgs *e, bool isSigned)
static float extractDouble (String *str)
static int extractInt (String *str)
static float getAfr (unsigned char value, int o2type)
static float calcLambda (float afr)
static float calcAfr (float lambda)
static bool isMatch (String *matcher, String *matchee, bool caseSensitive)
static String * openFileDialog (bool open, bool multifile, String *file, String *filter)[]
static String * csvFilter ()
static String * getNumberDivider ()
static float convertToLocale (String *val)
static float interpolate (float keyArray __gc[], int startind, int endind, float first, float last) __gc[]

Member Function Documentation

static float bre20::Common::calcAfr float  lambda  )  [static]
 

static float bre20::Common::calcLambda float  afr  )  [static]
 

bool bre20::Common::checkCom String *  com  )  [static]
 

float bre20::Common::convertToLocale String *  val  )  [static]
 

static String* bre20::Common::csvFilter  )  [static]
 

float bre20::Common::extractDouble String *  str  )  [static]
 

int bre20::Common::extractInt String *  str  )  [static]
 

float bre20::Common::getAfr unsigned char  value,
int  o2type
[static]
 

Parameters:
value the o2 sensor value from the ecu
o2type the DatalogOptions o2type
Returns:
the afr given the o2 type

static String* bre20::Common::getNumberDivider  )  [static]
 

void bre20::Common::handleDoubleKeyPress TextBox *  box,
System::Windows::Forms::KeyPressEventArgs *  e,
bool  isSigned
[static]
 

void bre20::Common::handleIntKeyPress TextBox *  box,
System::Windows::Forms::KeyPressEventArgs *  e,
bool  isSigned
[static]
 

float bre20::Common::interpolate float keyArray  __gc[],
int  startind,
int  endind,
float  first,
float  last
[static]
 

interpolates between the first value and the last value, generating an array of length keyArray.Length-2 containing the new, interpolated values (but NOT the first and last values!!).

bool bre20::Common::isMatch String *  matcher,
String *  matchee,
bool  caseSensitive
[static]
 

This tries to match the matcher string inside the matchee string. Multiple strings can be in the matcher string but they must be separated by the vertical bar symbol (|). Case

Parameters:
matcher the string to match
matchee the place to find matcher
caseSensitive true if the search must be case sensitive
Returns:
true if matcher is in matchee

String * bre20::Common::openFileDialog bool  open,
bool  multifile,
String *  file,
String *  filter
[static]
 

This opens a FileDialog of your choice and returns the file name(s) chosen by the user

Parameters:
open if true the dialog will be an open dialog, if false a save dialog
multifile if true the dialog will support multiple selections. Only works with open = true
file the name of the starting file in the dialog
filter the filter for the dialog
Returns:
an array of the selected file names. A NULL array is returned if the user clicks cancel.



BRE Documentation Home