Fixes to make graphing of multiplexed signals work properly

This commit is contained in:
Collin Kidder
2021-05-02 20:58:23 -04:00
parent e4da6237ae
commit 0d34958c63
3 changed files with 41 additions and 34 deletions
+1 -3
View File
@@ -120,14 +120,12 @@ public: //TODO: this is sloppy. It shouldn't all be public!
QString processSignalTree(const CANFrame &frame);
DBC_ATTRIBUTE_VALUE *findAttrValByName(QString name);
DBC_ATTRIBUTE_VALUE *findAttrValByIdx(int idx);
bool isSignalInMessage(const CANFrame &frame);
friend bool operator<(const DBC_SIGNAL& l, const DBC_SIGNAL& r)
{
return (l.name.toLower() < r.name.toLower());
}
private:
bool isSignalInMessage(const CANFrame &frame);
bool _sigInMsgPriv(const CANFrame &frame, DBC_SIGNAL *multiplexor);
};
class DBCSignalHandler; //forward declaration to keep from having to include dbchandler.h in this file and thus create a loop