@@ -174,17 +174,14 @@ class drvBase {
174
174
@brief Gets a ptr to an array containing the sensor types, as strings.
175
175
@returns Pointer to an array of strings.
176
176
*/
177
- /* ******************************************************************************/
178
177
const char **GetSensorTypeStrings () { return _sensor_type_strings; }
179
178
180
- /* ******************************************************************************/
181
179
/* !
182
180
@brief Configures a driver with the default SensorType(s) for the
183
181
device.
184
- /****************************************************************************** */
182
+ */
185
183
virtual void ConfigureDefaultSensorTypes () { return ; }
186
184
187
- /* ******************************************************************************/
188
185
/* !
189
186
@brief Gets the number of enabled sensors.
190
187
@returns The number of enabled sensors.
@@ -229,12 +226,14 @@ class drvBase {
229
226
@brief Gets the sensor's types
230
227
@returns A pointer to an array of SensorTypes.
231
228
*/
232
- /* ******************************************************************************/
233
229
wippersnapper_sensor_SensorType *GetSensorTypes () { return _sensors; }
234
230
231
+ /* !
232
+ @brief Gets the number of sensor types.
233
+ @returns The number of sensor types.
234
+ */
235
235
size_t GetNumSensorTypes () { return _sensors_count; }
236
236
237
- /* ******************************************************************************/
238
237
/* !
239
238
@brief Gets the sensor's previous period.
240
239
@returns The sensor's previous period, in milliseconds.
0 commit comments