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 109 of file DbcSignal.h.

Constructor & Destructor Documentation

◆ DbcSignal() [1/2]

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 71 of file DbcSignal.cpp.

◆ DbcSignal() [2/2]

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 93 of file DbcSignal.cpp.

◆ ~DbcSignal()

NewEagle::DbcSignal::~DbcSignal ( )

Definition at line 117 of file DbcSignal.cpp.

Member Function Documentation

◆ GetDataType()

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

Definition at line 190 of file DbcSignal.cpp.

◆ GetDlc()

uint8_t NewEagle::DbcSignal::GetDlc ( ) const

Definition at line 121 of file DbcSignal.cpp.

◆ GetEndianness()

ByteOrder NewEagle::DbcSignal::GetEndianness ( ) const

Definition at line 146 of file DbcSignal.cpp.

◆ GetGain()

double NewEagle::DbcSignal::GetGain ( ) const

Definition at line 131 of file DbcSignal.cpp.

◆ GetInitialValue()

double NewEagle::DbcSignal::GetInitialValue ( )

Definition at line 180 of file DbcSignal.cpp.

◆ GetLength()

uint8_t NewEagle::DbcSignal::GetLength ( ) const

Definition at line 151 of file DbcSignal.cpp.

◆ GetMultiplexerMode()

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

Definition at line 195 of file DbcSignal.cpp.

◆ GetMultiplexerSwitch()

int32_t NewEagle::DbcSignal::GetMultiplexerSwitch ( ) const

Definition at line 200 of file DbcSignal.cpp.

◆ GetName()

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

Definition at line 161 of file DbcSignal.cpp.

◆ GetOffset()

double NewEagle::DbcSignal::GetOffset ( ) const

Definition at line 136 of file DbcSignal.cpp.

◆ GetResult()

double NewEagle::DbcSignal::GetResult ( ) const

Definition at line 126 of file DbcSignal.cpp.

◆ GetSign()

SignType NewEagle::DbcSignal::GetSign ( ) const

Definition at line 156 of file DbcSignal.cpp.

◆ GetStartBit()

uint8_t NewEagle::DbcSignal::GetStartBit ( ) const

Definition at line 141 of file DbcSignal.cpp.

◆ SetComment()

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

Definition at line 171 of file DbcSignal.cpp.

◆ SetDataType()

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

Definition at line 185 of file DbcSignal.cpp.

◆ SetInitialValue()

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

Definition at line 176 of file DbcSignal.cpp.

◆ SetResult()

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

Definition at line 166 of file DbcSignal.cpp.

Member Data Documentation

◆ _comment

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

Definition at line 164 of file DbcSignal.h.

◆ _dlc

uint8_t NewEagle::DbcSignal::_dlc
private

Definition at line 155 of file DbcSignal.h.

◆ _endianness

ByteOrder NewEagle::DbcSignal::_endianness
private

Definition at line 160 of file DbcSignal.h.

◆ _gain

double NewEagle::DbcSignal::_gain
private

Definition at line 157 of file DbcSignal.h.

◆ _initialValue

double NewEagle::DbcSignal::_initialValue
private

Definition at line 165 of file DbcSignal.h.

◆ _length

uint8_t NewEagle::DbcSignal::_length
private

Definition at line 161 of file DbcSignal.h.

◆ _multiplexerMode

MultiplexerMode NewEagle::DbcSignal::_multiplexerMode
private

Definition at line 167 of file DbcSignal.h.

◆ _multiplexerSwitch

int32_t NewEagle::DbcSignal::_multiplexerSwitch
private

Definition at line 168 of file DbcSignal.h.

◆ _name

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

Definition at line 163 of file DbcSignal.h.

◆ _offset

double NewEagle::DbcSignal::_offset
private

Definition at line 158 of file DbcSignal.h.

◆ _result

double NewEagle::DbcSignal::_result
private

Definition at line 156 of file DbcSignal.h.

◆ _sign

SignType NewEagle::DbcSignal::_sign
private

Definition at line 162 of file DbcSignal.h.

◆ _startBit

uint8_t NewEagle::DbcSignal::_startBit
private

Definition at line 159 of file DbcSignal.h.

◆ _type

DataType NewEagle::DbcSignal::_type
private

Definition at line 166 of file DbcSignal.h.


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


can_dbc_parser
Author(s): Ryan Borchert
autogenerated on Sat Apr 9 2022 02:34:32