nico@207: nico@207:
nico@207:Public Member Functions | |
can_uvccm_win32 (s_BOARD *board) | |
~can_uvccm_win32 () | |
bool | send (const Message *m) |
bool | receive (Message *m) |
Private Member Functions | |
bool | open_rs232 (int port=1, int baud_rate=57600) |
bool | close_rs232 () |
bool | get_can_data (const char *can_cmd_buf, long &bufsize, Message *m) |
bool | set_can_data (const Message &m, std::string &can_cmd) |
Private Attributes | |
HANDLE | m_port |
HANDLE | m_read_event |
HANDLE | m_write_event |
std::string | m_residual_buffer |
Data Structures | |
class | error |
nico@207: nico@207:
nico@207: Definition at line 17 of file can_uvccm_win32.cpp.
can_uvccm_win32::can_uvccm_win32 | nico@207:( | nico@207:s_BOARD * | nico@207:board | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 39 of file can_uvccm_win32.cpp. nico@207:
nico@207: References struct_s_BOARD::baudrate, and open_rs232(). nico@207:
can_uvccm_win32::~can_uvccm_win32 | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 47 of file can_uvccm_win32.cpp. nico@207:
nico@207: References close_rs232(). nico@207:
nico@207:
bool can_uvccm_win32::send | nico@207:( | nico@207:const Message * | nico@207:m | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 52 of file can_uvccm_win32.cpp. nico@207:
nico@207: References FALSE, m_port, m_write_event, set_can_data(), and eds_utils::WriteFile(). nico@207:
bool can_uvccm_win32::receive | nico@207:( | nico@207:Message * | nico@207:m | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 80 of file can_uvccm_win32.cpp. nico@207:
nico@207: References FALSE, get_can_data(), m_port, m_read_event, and m_residual_buffer. nico@207:
bool can_uvccm_win32::open_rs232 | nico@207:( | nico@207:int | nico@207: port = 1 , |
nico@207: |
nico@207: | nico@207: | int | nico@207: baud_rate = 57600 | nico@207: |
nico@207: | ) | nico@207: [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 136 of file can_uvccm_win32.cpp. nico@207:
nico@207: References FALSE, m_port, m_read_event, m_write_event, and TRUE. nico@207:
bool can_uvccm_win32::close_rs232 | nico@207:( | nico@207:nico@207: | ) | nico@207: [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 190 of file can_uvccm_win32.cpp. nico@207:
nico@207: References m_port, m_read_event, m_residual_buffer, and m_write_event. nico@207:
bool can_uvccm_win32::get_can_data | nico@207:( | nico@207:const char * | nico@207:can_cmd_buf, | nico@207:|
nico@207: | nico@207: | long & | nico@207:bufsize, | nico@207:|
nico@207: | nico@207: | Message * | nico@207:m | nico@207: |
nico@207: | ) | nico@207: [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 206 of file can_uvccm_win32.cpp. nico@207:
nico@207: References Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@207:
bool can_uvccm_win32::set_can_data | nico@207:( | nico@207:const Message & | nico@207:m, | nico@207:|
nico@207: | nico@207: | std::string & | nico@207:can_cmd | nico@207: |
nico@207: | ) | nico@207: [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 271 of file can_uvccm_win32.cpp. nico@207:
nico@207: References Message::cob_id, Message::data, Message::len, Message::rtr, and SHORT_CAN::w. nico@207:
nico@207:
HANDLE can_uvccm_win32::m_port [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 33 of file can_uvccm_win32.cpp. nico@207:
HANDLE can_uvccm_win32::m_read_event [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 34 of file can_uvccm_win32.cpp. nico@207:
HANDLE can_uvccm_win32::m_write_event [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 35 of file can_uvccm_win32.cpp. nico@207:
std::string can_uvccm_win32::m_residual_buffer [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 36 of file can_uvccm_win32.cpp. nico@207:
nico@207: