nico@215: nico@215:
nico@215: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@215: nico@215:
nico@215: Definition at line 17 of file can_uvccm_win32.cpp.
can_uvccm_win32::can_uvccm_win32 | nico@215:( | nico@215:s_BOARD * | nico@215:board | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 39 of file can_uvccm_win32.cpp. nico@215:
nico@215: References struct_s_BOARD::baudrate, and open_rs232(). nico@215:
etisserant@240: Here is the call graph for this function:
can_uvccm_win32::~can_uvccm_win32 | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 47 of file can_uvccm_win32.cpp. nico@215:
nico@215: References close_rs232(). nico@215:
etisserant@240: Here is the call graph for this function:
nico@215:
bool can_uvccm_win32::send | nico@215:( | nico@215:const Message * | nico@215:m | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 52 of file can_uvccm_win32.cpp. nico@215:
nico@215: References FALSE, m_port, m_write_event, and set_can_data(). nico@215:
etisserant@240: Here is the call graph for this function:
bool can_uvccm_win32::receive | nico@215:( | nico@215:Message * | nico@215:m | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 80 of file can_uvccm_win32.cpp. nico@215:
nico@215: References FALSE, get_can_data(), m_port, m_read_event, and m_residual_buffer. nico@215:
etisserant@240: Here is the call graph for this function:
bool can_uvccm_win32::open_rs232 | nico@215:( | nico@215:int | nico@215: port = 1 , |
nico@215: |
nico@215: | nico@215: | int | nico@215: baud_rate = 57600 | nico@215: |
nico@215: | ) | nico@215: [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 136 of file can_uvccm_win32.cpp. nico@215:
nico@215: References FALSE, m_port, m_read_event, m_write_event, and TRUE. nico@215:
nico@215: Referenced by can_uvccm_win32(). nico@215:
bool can_uvccm_win32::close_rs232 | nico@215:( | nico@215:nico@215: | ) | nico@215: [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 190 of file can_uvccm_win32.cpp. nico@215:
nico@215: References m_port, m_read_event, m_residual_buffer, and m_write_event. nico@215:
nico@215: Referenced by ~can_uvccm_win32(). nico@215:
bool can_uvccm_win32::get_can_data | nico@215:( | nico@215:const char * | nico@215:can_cmd_buf, | nico@215:|
nico@215: | nico@215: | long & | nico@215:bufsize, | nico@215:|
nico@215: | nico@215: | Message * | nico@215:m | nico@215: |
nico@215: | ) | nico@215: [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 206 of file can_uvccm_win32.cpp. nico@215:
nico@215: References Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@215:
nico@215: Referenced by receive(). nico@215:
bool can_uvccm_win32::set_can_data | nico@215:( | nico@215:const Message & | nico@215:m, | nico@215:|
nico@215: | nico@215: | std::string & | nico@215:can_cmd | nico@215: |
nico@215: | ) | nico@215: [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 271 of file can_uvccm_win32.cpp. nico@215:
nico@215: References Message::cob_id, Message::data, Message::len, Message::rtr, and SHORT_CAN::w. nico@215:
nico@215: Referenced by send(). nico@215:
nico@215:
HANDLE can_uvccm_win32::m_port [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 33 of file can_uvccm_win32.cpp. nico@215:
nico@215: Referenced by close_rs232(), open_rs232(), receive(), and send(). nico@215:
etisserant@240: etisserant@240:
HANDLE can_uvccm_win32::m_read_event [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 34 of file can_uvccm_win32.cpp. nico@215:
nico@215: Referenced by close_rs232(), open_rs232(), and receive(). nico@215:
etisserant@240: etisserant@240:
HANDLE can_uvccm_win32::m_write_event [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 35 of file can_uvccm_win32.cpp. nico@215:
nico@215: Referenced by close_rs232(), open_rs232(), and send(). nico@215:
etisserant@240: etisserant@240:
std::string can_uvccm_win32::m_residual_buffer [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 36 of file can_uvccm_win32.cpp. nico@215:
nico@215: Referenced by close_rs232(), and receive(). nico@215:
nico@215: