Closes #7
This commit is contained in:
1 parent
8d82b13dad
commit
b91cf4aae5
21 files changed
+1165
-1146
No files matched your search
+13
-21
@@ -12,9 +12,9 @@
|
||||
#ifndef FRAME_INFO_H
|
||||
#define FRAME_INFO_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#include "signal_info.h"
|
||||
|
||||
@@ -22,27 +22,19 @@
|
||||
* @brief Describes one CAN frame from a DBC file.
|
||||
*/
|
||||
struct FrameInfo {
|
||||
std::string name; /**< Frame name. */
|
||||
std::uint32_t canId; /**< Normalized CAN identifier. */
|
||||
bool isExtended; /**< true for extended frame. */
|
||||
std::uint32_t pgn; /**< J1939 PGN if applicable. */
|
||||
bool hasPgn; /**< true if PGN was derived. */
|
||||
std::uint8_t dlc; /**< Frame payload length. */
|
||||
std::string transmitter; /**< Transmitter ECU name. */
|
||||
std::string comment; /**< Optional frame comment. */
|
||||
std::vector<SignalInfo> signals; /**< Signals contained in the frame. */
|
||||
std::string name; /**< Frame name. */
|
||||
std::uint32_t canId; /**< Normalized CAN identifier. */
|
||||
bool isExtended; /**< true for extended frame. */
|
||||
std::uint32_t pgn; /**< J1939 PGN if applicable. */
|
||||
bool hasPgn; /**< true if PGN was derived. */
|
||||
std::uint8_t dlc; /**< Frame payload length. */
|
||||
std::string transmitter; /**< Transmitter ECU name. */
|
||||
std::string comment; /**< Optional frame comment. */
|
||||
std::vector<SignalInfo> signals; /**< Signals contained in the frame. */
|
||||
|
||||
FrameInfo()
|
||||
: name()
|
||||
, canId (0U)
|
||||
, isExtended (false)
|
||||
, pgn (0U)
|
||||
, hasPgn (false)
|
||||
, dlc (0U)
|
||||
, transmitter()
|
||||
, comment()
|
||||
, signals() {
|
||||
}
|
||||
FrameInfo()
|
||||
: name(), canId(0U), isExtended(false), pgn(0U), hasPgn(false), dlc(0U), transmitter(), comment(), signals() {
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* FRAME_INFO_H */
|
||||
Reference in new issue
Block a user