You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
527 B

#pragma once
#include "api/api.hpp"
#include "i_zcanreceiver.hpp"
namespace iflytop {
using namespace std;
class ProtocolEventBusSender : public ZIEventBusSender {
IZCanReceiver* m_zcanreceiver = nullptr;
public:
static ProtocolEventBusSender* inst() {
static ProtocolEventBusSender instance;
return &instance;
}
void initialize(IZCanReceiver* zcanreceiver);
virtual void push_reg_state_change_event(int32_t moduleid, int32_t regindex, int32_t oldval, int32_t toval) override;
};
} // namespace iflytop