Base interpreter for processing pdu variables into their message-specific format.
virtual void* J1939Interpreter::import |
( |
vector< string > & |
tokens | ) |
|
|
pure virtual |
Import data from a printed file into a message-specific object.
This is used primarily for processing preprinted messages from a file.
- Parameters
-
tokens | list of string values from each data element in the message |
- Returns
- the data-specific format of the message
Implemented in EIInterpreter, GFI2Interpreter, FDInterpreter, HRVDInterpreter, VEPInterpreter, IECInterpreter, AMBCInterpreter, PTOInterpreter, ETEMPInterpreter, ECFGInterpreter, RCFGInterpreter, VDInterpreter, TURBOInterpreter, TC1Interpreter, RFInterpreter, LFEInterpreter, CCVSInterpreter, TFInterpreter, ERC1Interpreter, ETC2Interpreter, ETC1Interpreter, EEC3Interpreter, EEC2Interpreter, EEC1Interpreter, EBC2Interpreter, EBC1Interpreter, TSC1Interpreter, and PDUInterpreter.
virtual void J1939Interpreter::print |
( |
void * |
pdv, |
|
|
FILE * |
fp, |
|
|
bool |
numeric |
|
) |
| |
|
pure virtual |
Print and log the message-specific format of a data point.
- Parameters
-
pdv | the message to print |
fp | location of the file to print to |
numeric | If set to true, the names of the separate data points are further revealed. |
Implemented in EIInterpreter, GFI2Interpreter, FDInterpreter, HRVDInterpreter, VEPInterpreter, IECInterpreter, AMBCInterpreter, PTOInterpreter, ETEMPInterpreter, ECFGInterpreter, RCFGInterpreter, VDInterpreter, TURBOInterpreter, TC1Interpreter, RFInterpreter, LFEInterpreter, CCVSInterpreter, TFInterpreter, ERC1Interpreter, ETC2Interpreter, ETC1Interpreter, EEC3Interpreter, EEC2Interpreter, EEC1Interpreter, EBC2Interpreter, EBC1Interpreter, TSC1Interpreter, and PDUInterpreter.