bre20::LoggerData Class Reference

List of all members.

Public Member Functions

 LoggerData (String *ecuType)
void addCommand (int cmd, String *label)
void addLoggerKey (LoggerKey *key)
 Adds a new key to the output list.
LoggerKeygetLoggerKey (int index)
 returns a LoggerKey
int getNumLoggerKeys ()
 returns the number of logger keys
void removeLoggerKey (LoggerKey *key)
 Removes a key from the list.
void setResultsArray (unsigned char results __gc[])
unsigned char getCommands () __gc[]
String * getLabels ()[]
void setLocked (bool l)
Hashtable * getHashtable ()
ArrayList * getLoggerKeys ()
LoggerKeygetAfrKey ()

Detailed Description

Contains the data for the Logger such as the command list, label list for the hash table, etc.


Constructor & Destructor Documentation

bre20::LoggerData::LoggerData String *  ecuType  ) 
 

Reads the ini file and assembles the command and label arrays.

Parameters:
ecuType the type of the ecu


Member Function Documentation

void bre20::LoggerData::addCommand int  cmd,
String *  label
 

Adds a new command to the respective arrays and to the ini file.

void bre20::LoggerData::addLoggerKey LoggerKey key  ) 
 

Adds a new key to the output list.

LoggerKey* bre20::LoggerData::getAfrKey  ) 
 

unsigned char bre20::LoggerData::getCommands  ) 
 

Hashtable* bre20::LoggerData::getHashtable  ) 
 

When a rule is called, this hash table contains the results of a successful ECU send and recieve cycle. The keys/labels to each value in the hash table can be viewed by looking at the loggerCmd.ini file in the bre20.exe directory.

String* bre20::LoggerData::getLabels  ) 
 

bre20::LoggerKey * bre20::LoggerData::getLoggerKey int  index  ) 
 

returns a LoggerKey

ArrayList* bre20::LoggerData::getLoggerKeys  ) 
 

int bre20::LoggerData::getNumLoggerKeys  ) 
 

returns the number of logger keys

void bre20::LoggerData::removeLoggerKey LoggerKey key  ) 
 

Removes a key from the list.

void bre20::LoggerData::setLocked bool  l  ) 
 

void bre20::LoggerData::setResultsArray unsigned char results  __gc[]  ) 
 




BRE Documentation Home