#include <ur_communication.h>
Public Member Functions | |
void | halt () |
bool | start () |
UrCommunication (std::condition_variable &msg_cond, std::string host) | |
Public Attributes | |
bool | connected_ |
RobotState * | robot_state_ |
Private Member Functions | |
void | run () |
Private Attributes | |
std::thread | comThread_ |
int | flag_ |
bool | keepalive_ |
int | pri_sockfd_ |
struct sockaddr_in pri_serv_addr_ | sec_serv_addr_ |
int | sec_sockfd_ |
struct hostent * | server_ |
Definition at line 44 of file ur_communication.h.
UrCommunication::UrCommunication | ( | std::condition_variable & | msg_cond, |
std::string | host | ||
) |
Definition at line 21 of file ur_communication.cpp.
void UrCommunication::halt | ( | ) |
Definition at line 110 of file ur_communication.cpp.
void UrCommunication::run | ( | ) | [private] |
Definition at line 115 of file ur_communication.cpp.
bool UrCommunication::start | ( | ) |
Definition at line 62 of file ur_communication.cpp.
std::thread UrCommunication::comThread_ [private] |
Definition at line 50 of file ur_communication.h.
Definition at line 55 of file ur_communication.h.
int UrCommunication::flag_ [private] |
Definition at line 51 of file ur_communication.h.
bool UrCommunication::keepalive_ [private] |
Definition at line 49 of file ur_communication.h.
int UrCommunication::pri_sockfd_ [private] |
Definition at line 46 of file ur_communication.h.
Definition at line 56 of file ur_communication.h.
struct sockaddr_in pri_serv_addr_ UrCommunication::sec_serv_addr_ [private] |
Definition at line 47 of file ur_communication.h.
int UrCommunication::sec_sockfd_ [private] |
Definition at line 46 of file ur_communication.h.
struct hostent* UrCommunication::server_ [private] |
Definition at line 48 of file ur_communication.h.