truck-code
Public Member Functions | List of all members
RFInterpreter Class Reference

#include <j1939_interpreters.h>

Inheritance diagram for RFInterpreter:
Inheritance graph
[legend]
Collaboration diagram for RFInterpreter:
Collaboration graph
[legend]

Public Member Functions

virtual int pgn ()
 
virtual void * convert (j1939_pdu_typ *pdu)
 
virtual void print (void *pdv, FILE *fp, bool numeric)
 
virtual void * import (vector< string > &tokens)
 
- Public Member Functions inherited from J1939Interpreter
bool is_type (j1939_pdu_typ *pdu)
 
virtual ~J1939Interpreter ()=0
 

Detailed Description

PDU RF (Retarder Fluids) doc. in J1939 - 71, p164

Member Function Documentation

◆ convert()

void * RFInterpreter::convert ( j1939_pdu_typ pdu)
virtual

Convert a message from its pdu format to its data-specific format.

Parameters
pdugeneric format of the message
Returns
data-specific format of the message, depending on the child class used

Implements J1939Interpreter.

◆ import()

void * RFInterpreter::import ( vector< string > &  tokens)
virtual

Import data from a printed file into a message-specific object.

This is used primarily for processing preprinted messages from a file.

Parameters
tokenslist of string values from each data element in the message
Returns
the data-specific format of the message

Implements J1939Interpreter.

◆ pgn()

int RFInterpreter::pgn ( )
virtual

J1939 PGN number for the data-type

Reimplemented from J1939Interpreter.

◆ print()

void RFInterpreter::print ( void *  pdv,
FILE *  fp,
bool  numeric 
)
virtual

Print and log the message-specific format of a data point.

Parameters
pdvthe message to print
fplocation of the file to print to
numericIf set to true, the names of the separate data points are further revealed.

Implements J1939Interpreter.


The documentation for this class was generated from the following files: