34 unsigned char acceptance_code,
35 unsigned char acceptance_mask,
36 unsigned int baud_rate,
37 unsigned int send_fifo_size,
38 unsigned int receive_fifo_size)
39 : m_receive_enabled(false)
virtual void addResponse(const tCanMessage &msg, const bool wait_for_send=true)
Adds a response to a request that will be sent later. By default, the data won't bee seen by the rece...
Implements a struct representing a can message.
std::vector< tCanMessage > m_sent_messages
virtual int Receive(tCanMessage &msg)
#define LOGGING_DEBUG(streamname, arg)
#define LOGGING_ERROR(streamname, arg)
virtual bool IsInitialized()
ThreadStream & endl(ThreadStream &stream)
virtual ~tCanDeviceDummy()
virtual tCanMessage getLastMessage() const
icl_hardware::can::tCanMessage tCanMessage
virtual int Send(const tCanMessage &msg)
#define LOGGING_TRACE(streamname, arg)
std::vector< tCanMessage > m_received_messages
tCanDeviceDummy(const char *device_name, int flags, unsigned char acceptance_code, unsigned char acceptance_mask, unsigned int baud_rate, unsigned int send_fifo_size, unsigned int receive_fifo_size)