automotive-message-broker  0.14.803
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ObdPid Class Referenceabstract
Inheritance diagram for ObdPid:
CopyMe< T > CopyMe< AirIntakeTemperaturePid > CopyMe< BatteryVoltagePid > CopyMe< EngineCoolantPid > CopyMe< EngineSpeedPid > CopyMe< MassAirFlowPid > CopyMe< ThrottlePositionPid > CopyMe< VehicleSpeedPid > CopyMe< VinPid >

Public Types

typedef std::vector< unsigned
char > 
ByteArray
 

Public Member Functions

 ObdPid (VehicleProperty::Property prop, std::string p, int i)
 
virtual ObdPidcreate ()=0
 
bool tryParse (ByteArray replyVector)
 
virtual void parse (const ByteArray &replyVector)=0
 
virtual bool isValid (const ByteArray &replyVector)=0
 
virtual bool needsCompress ()
 

Static Public Member Functions

static ByteArray cleanup (ByteArray replyVector)
 
static ByteArray compress (ByteArray replyVector)
 

Public Attributes

VehicleProperty::Property property
 
std::string pid
 
int id
 
int type
 
std::string value
 
bool isValidVal
 

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