CanInterface Dispatcher, it depends on MyThread (MyThings lib)
Diff: CANSniffer.h
- Revision:
- 0:3ca0a6d1e2a1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CANSniffer.h Thu Apr 02 07:30:22 2015 +0000 @@ -0,0 +1,16 @@ + +#ifndef CAN_SNIFFER_H +#define CAN_SNIFFER_H + +#include "CANInterface.h" +#include "MyCallBack.h" + +class CANSniffer: public MyCallBack { +protected: + CANInterface *canItf; +public: + CANSniffer(CANInterface *itf); + virtual void event(int ID, void *data); +}; + +#endif // CAN_SNIFFER_H \ No newline at end of file