SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
SDBC::MSG Class Reference
Inheritance diagram for SDBC::MSG:
SDBC::LINK

Classes

union  value
 

Public Member Functions

template<typename T >
void setSig (const SIG *signal, T value)
 
template<typename T >
getSig (const SIG *signal)
 
 MSG (const uint32_t msgAddr, bool outgoing, const SIG **SIGNALS, const int signalCount, const bool hasValueSetter)
 

Public Attributes

const bool outgoing
 
volatile union SDBC::MSG::value value
 
const SIG ** SIGNALS
 
const int signalCount
 
const bool hasValueSetter
 

Detailed Description

Definition at line 33 of file SDBC_class.hpp.

Constructor & Destructor Documentation

◆ MSG()

SDBC::MSG::MSG ( const uint32_t  msgAddr,
bool  outgoing,
const SIG **  SIGNALS,
const int  signalCount,
const bool  hasValueSetter 
)
inline

Definition at line 66 of file SDBC_class.hpp.

Member Function Documentation

◆ getSig()

template<typename T >
T SDBC::MSG::getSig ( const SIG signal)
inline

Definition at line 59 of file SDBC_class.hpp.

◆ setSig()

template<typename T >
void SDBC::MSG::setSig ( const SIG signal,
value 
)
inline

Definition at line 47 of file SDBC_class.hpp.

Member Data Documentation

◆ hasValueSetter

const bool SDBC::MSG::hasValueSetter

Definition at line 44 of file SDBC_class.hpp.

◆ outgoing

const bool SDBC::MSG::outgoing

Definition at line 37 of file SDBC_class.hpp.

◆ signalCount

const int SDBC::MSG::signalCount

Definition at line 43 of file SDBC_class.hpp.

◆ SIGNALS

const SIG** SDBC::MSG::SIGNALS

Definition at line 42 of file SDBC_class.hpp.


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