22 #ifndef DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_SDK_WINDOWS_PORTHANDLERWINDOWS_H_ 23 #define DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_SDK_WINDOWS_PORTHANDLERWINDOWS_H_ 48 bool setupPort(
const int baudrate);
50 double getCurrentTime();
51 double getTimeSinceStart();
90 void setPortName(
const char *port_name);
107 bool setBaudRate(
const int baudrate);
122 int getBytesAvailable();
134 int readPort(uint8_t *packet,
int length);
146 int writePort(uint8_t *packet,
int length);
153 void setPacketTimeout(uint16_t packet_length);
160 void setPacketTimeout(
double msec);
166 bool isPacketTimeout();
double packet_start_time_
virtual ~PortHandlerWindows()
The function that closes the port The function calls PortHandlerWindows::closePort() to close the po...
The class for port control that inherits PortHandlerLinux, PortHandlerWindows, PortHandlerMac, or PortHandlerArduino.
The class for control port in Windows.