@@ -43,10 +43,10 @@ namespace vx {
4343 */
4444 enum class Baudrate {
4545
46- Speed9600 = 9000 , /* *< Baudrate speed of 9600. */
47- Speed19200 = 19200 , /* *< Baudrate speed of 19200. */
48- Speed38400 = 38400 , /* *< Baudrate speed of 38400. */
49- Speed57600 = 57600 /* *< Baudrate speed of 57600. */
46+ Speed9600 = 9000 , /* *< Baudrate of 9600. */
47+ Speed19200 = 19200 , /* *< Baudrate of 19200. */
48+ Speed38400 = 38400 , /* *< Baudrate of 38400. */
49+ Speed57600 = 57600 /* *< Baudrate of 57600. */
5050 };
5151
5252 /* *
@@ -59,7 +59,7 @@ namespace vx {
5959 /* *
6060 * @brief Default constructor for Serial.
6161 * @param _path Device path.
62- * @param _baudrate Baudrate speed .
62+ * @param _baudrate Baudrate.
6363 */
6464 explicit Serial ( const std::string &_path,
6565 Baudrate _baudrate = Baudrate::Speed9600 );
@@ -92,21 +92,21 @@ namespace vx {
9292 virtual ~Serial ();
9393
9494 /* *
95- * @brief Is the serial device open.
95+ * @brief Is the serial device open?
9696 * @return True, if open - otherwise false.
9797 */
9898 inline bool isOpen () const { return m_isOpen; }
9999
100100 /* *
101101 * @brief Flush the serial port.
102- * @return True, if fushing is successded - otherwise false.
102+ * @return True, if fushing is successful - otherwise false.
103103 */
104104 bool flush () const ;
105105
106106 /* *
107107 * @brief Write data to the serial device.
108108 * @param _data Date written to the device.
109- * @return True, if the data written was successfull - otherwise false.
109+ * @return True, if the data writing was successful - otherwise false.
110110 */
111111 bool write ( const std::string &_data ) const ;
112112
@@ -118,7 +118,7 @@ namespace vx {
118118
119119 /* *
120120 * @brief Descriptor of current device.
121- * @return The descriptor of the serial device - -1 is not valid descriptor.
121+ * @return The descriptor of the serial device - -1 is not a valid descriptor.
122122 */
123123 inline int descriptor () const { return m_descriptor; }
124124
@@ -134,7 +134,7 @@ namespace vx {
134134 bool m_isOpen = false ;
135135
136136 /* *
137- * @brief Membber for descriptor.
137+ * @brief Member for descriptor.
138138 */
139139 int m_descriptor = -1 ;
140140 };
0 commit comments