Public Member Functions | Private Types | Private Attributes | Friends
Signal Class Reference

#include <DbcSignal.hpp>

List of all members.

Public Member Functions

ByteOrder getByteOrder () const
double getFactor () const
unsigned short getLength () const
double getMaximum () const
double getMinimum () const
unsigned short getMultiplexedNumber () const
Multiplexor getMultiplexor () const
const std::string & getName () const
double getOffset () const
Sign getSign () const
unsigned short getStartbit () const
const toListgetTo () const
const std::string & getUnit () const

Private Types

typedef std::set< std::string > toList

Private Attributes

double factor
unsigned short length
double maximum
double minimum
unsigned short multiplexNum
Multiplexor multiplexor
std::string name
double offset
ByteOrder order
Sign sign
unsigned short startBit
toList to
std::string unit

Friends

std::istream & operator>> (std::istream &in, Signal &sig)

Detailed Description

This class represents a Signal contained in a Message of a DBC-File. One can Query all the necessary information from this class to define a Signal

Definition at line 64 of file DbcSignal.hpp.


Member Typedef Documentation

typedef std::set<std::string> Signal::toList [private]

Definition at line 66 of file DbcSignal.hpp.


Member Function Documentation

ByteOrder Signal::getByteOrder ( ) const [inline]

Definition at line 100 of file DbcSignal.hpp.

double Signal::getFactor ( ) const [inline]

Definition at line 106 of file DbcSignal.hpp.

unsigned short Signal::getLength ( ) const [inline]

Definition at line 102 of file DbcSignal.hpp.

double Signal::getMaximum ( ) const [inline]

Definition at line 105 of file DbcSignal.hpp.

double Signal::getMinimum ( ) const [inline]

Definition at line 104 of file DbcSignal.hpp.

unsigned short Signal::getMultiplexedNumber ( ) const [inline]

Definition at line 110 of file DbcSignal.hpp.

Multiplexor Signal::getMultiplexor ( ) const [inline]

Definition at line 109 of file DbcSignal.hpp.

const std::string& Signal::getName ( ) const [inline]

Definition at line 99 of file DbcSignal.hpp.

double Signal::getOffset ( ) const [inline]

Definition at line 107 of file DbcSignal.hpp.

Sign Signal::getSign ( ) const [inline]

Definition at line 103 of file DbcSignal.hpp.

unsigned short Signal::getStartbit ( ) const [inline]

Definition at line 101 of file DbcSignal.hpp.

const toList& Signal::getTo ( ) const [inline]

Definition at line 111 of file DbcSignal.hpp.

const std::string& Signal::getUnit ( ) const [inline]

Definition at line 108 of file DbcSignal.hpp.


Friends And Related Function Documentation

std::istream& operator>> ( std::istream &  in,
Signal sig 
) [friend]

Definition at line 70 of file DbcSignal.cpp.


Member Data Documentation

double Signal::factor [private]

Definition at line 82 of file DbcSignal.hpp.

unsigned short Signal::length [private]

Definition at line 74 of file DbcSignal.hpp.

double Signal::maximum [private]

Definition at line 80 of file DbcSignal.hpp.

double Signal::minimum [private]

Definition at line 78 of file DbcSignal.hpp.

unsigned short Signal::multiplexNum [private]

Definition at line 90 of file DbcSignal.hpp.

Definition at line 88 of file DbcSignal.hpp.

std::string Signal::name [private]

Definition at line 68 of file DbcSignal.hpp.

double Signal::offset [private]

Definition at line 84 of file DbcSignal.hpp.

Definition at line 70 of file DbcSignal.hpp.

Sign Signal::sign [private]

Definition at line 76 of file DbcSignal.hpp.

unsigned short Signal::startBit [private]

Definition at line 72 of file DbcSignal.hpp.

toList Signal::to [private]

Definition at line 92 of file DbcSignal.hpp.

std::string Signal::unit [private]

Definition at line 86 of file DbcSignal.hpp.


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


dataspeed_can_tools
Author(s): Micho Radovnikovich
autogenerated on Thu Jun 6 2019 21:16:41