Public Member Functions | Private Attributes | List of all members
NewEagle::DbcSignal Class Reference

#include <DbcSignal.h>

Public Member Functions

 DbcSignal (uint8_t dlc, double gain, double offset, uint8_t startBit, ByteOrder endianness, uint8_t length, SignType sign, std::string name, MultiplexerMode multiplexerMode)
 
 DbcSignal (uint8_t dlc, double gain, double offset, uint8_t startBit, ByteOrder endianness, uint8_t length, SignType sign, std::string name, MultiplexerMode multiplexerMode, int32_t multiplexerSwitch)
 
DataType GetDataType ()
 
uint8_t GetDlc () const
 
ByteOrder GetEndianness () const
 
double GetGain () const
 
double GetInitialValue ()
 
uint8_t GetLength () const
 
MultiplexerMode GetMultiplexerMode () const
 
int32_t GetMultiplexerSwitch () const
 
std::string GetName () const
 
double GetOffset () const
 
double GetResult () const
 
SignType GetSign () const
 
uint8_t GetStartBit () const
 
void SetComment (NewEagle::DbcSignalComment comment)
 
void SetDataType (DataType type)
 
void SetInitialValue (double value)
 
void SetResult (double result)
 
 ~DbcSignal ()
 

Private Attributes

NewEagle::DbcSignalComment _comment
 
uint8_t _dlc
 
ByteOrder _endianness
 
double _gain
 
double _initialValue
 
uint8_t _length
 
MultiplexerMode _multiplexerMode
 
int32_t _multiplexerSwitch
 
std::string _name
 
double _offset
 
double _result
 
SignType _sign
 
uint8_t _startBit
 
DataType _type
 

Detailed Description

Definition at line 77 of file DbcSignal.h.

Constructor & Destructor Documentation

NewEagle::DbcSignal::DbcSignal ( uint8_t  dlc,
double  gain,
double  offset,
uint8_t  startBit,
ByteOrder  endianness,
uint8_t  length,
SignType  sign,
std::string  name,
MultiplexerMode  multiplexerMode 
)

Definition at line 39 of file DbcSignal.cpp.

NewEagle::DbcSignal::DbcSignal ( uint8_t  dlc,
double  gain,
double  offset,
uint8_t  startBit,
ByteOrder  endianness,
uint8_t  length,
SignType  sign,
std::string  name,
MultiplexerMode  multiplexerMode,
int32_t  multiplexerSwitch 
)

Definition at line 61 of file DbcSignal.cpp.

NewEagle::DbcSignal::~DbcSignal ( )

Definition at line 85 of file DbcSignal.cpp.

Member Function Documentation

NewEagle::DataType NewEagle::DbcSignal::GetDataType ( )

Definition at line 158 of file DbcSignal.cpp.

uint8_t NewEagle::DbcSignal::GetDlc ( ) const

Definition at line 89 of file DbcSignal.cpp.

ByteOrder NewEagle::DbcSignal::GetEndianness ( ) const

Definition at line 114 of file DbcSignal.cpp.

double NewEagle::DbcSignal::GetGain ( ) const

Definition at line 99 of file DbcSignal.cpp.

double NewEagle::DbcSignal::GetInitialValue ( )

Definition at line 148 of file DbcSignal.cpp.

uint8_t NewEagle::DbcSignal::GetLength ( ) const

Definition at line 119 of file DbcSignal.cpp.

NewEagle::MultiplexerMode NewEagle::DbcSignal::GetMultiplexerMode ( ) const

Definition at line 163 of file DbcSignal.cpp.

int32_t NewEagle::DbcSignal::GetMultiplexerSwitch ( ) const

Definition at line 168 of file DbcSignal.cpp.

std::string NewEagle::DbcSignal::GetName ( ) const

Definition at line 129 of file DbcSignal.cpp.

double NewEagle::DbcSignal::GetOffset ( ) const

Definition at line 104 of file DbcSignal.cpp.

double NewEagle::DbcSignal::GetResult ( ) const

Definition at line 94 of file DbcSignal.cpp.

SignType NewEagle::DbcSignal::GetSign ( ) const

Definition at line 124 of file DbcSignal.cpp.

uint8_t NewEagle::DbcSignal::GetStartBit ( ) const

Definition at line 109 of file DbcSignal.cpp.

void NewEagle::DbcSignal::SetComment ( NewEagle::DbcSignalComment  comment)

Definition at line 139 of file DbcSignal.cpp.

void NewEagle::DbcSignal::SetDataType ( NewEagle::DataType  type)

Definition at line 153 of file DbcSignal.cpp.

void NewEagle::DbcSignal::SetInitialValue ( double  value)

Definition at line 144 of file DbcSignal.cpp.

void NewEagle::DbcSignal::SetResult ( double  result)

Definition at line 134 of file DbcSignal.cpp.

Member Data Documentation

NewEagle::DbcSignalComment NewEagle::DbcSignal::_comment
private

Definition at line 132 of file DbcSignal.h.

uint8_t NewEagle::DbcSignal::_dlc
private

Definition at line 123 of file DbcSignal.h.

ByteOrder NewEagle::DbcSignal::_endianness
private

Definition at line 128 of file DbcSignal.h.

double NewEagle::DbcSignal::_gain
private

Definition at line 125 of file DbcSignal.h.

double NewEagle::DbcSignal::_initialValue
private

Definition at line 133 of file DbcSignal.h.

uint8_t NewEagle::DbcSignal::_length
private

Definition at line 129 of file DbcSignal.h.

MultiplexerMode NewEagle::DbcSignal::_multiplexerMode
private

Definition at line 135 of file DbcSignal.h.

int32_t NewEagle::DbcSignal::_multiplexerSwitch
private

Definition at line 136 of file DbcSignal.h.

std::string NewEagle::DbcSignal::_name
private

Definition at line 131 of file DbcSignal.h.

double NewEagle::DbcSignal::_offset
private

Definition at line 126 of file DbcSignal.h.

double NewEagle::DbcSignal::_result
private

Definition at line 124 of file DbcSignal.h.

SignType NewEagle::DbcSignal::_sign
private

Definition at line 130 of file DbcSignal.h.

uint8_t NewEagle::DbcSignal::_startBit
private

Definition at line 127 of file DbcSignal.h.

DataType NewEagle::DbcSignal::_type
private

Definition at line 134 of file DbcSignal.h.


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


dbc
Author(s): Ryan Borchert
autogenerated on Fri Mar 20 2020 03:31:33