File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1515#include " power_overwhelming/convert_string.h"
1616
1717#include " collector_impl.h"
18+ #include " sensor_desc.h"
1819#include " sensor_utilities.h"
1920#include " tinkerforge_sensor_impl.h"
2021
Original file line number Diff line number Diff line change @@ -109,6 +109,13 @@ namespace detail {
109109 // / Provides compile-time metadata for a sensor of type
110110 // / <see cref="TSensor" />.
111111 // / </summary>
112+ // / <remarks>
113+ // / <para>Implementors of new kinds of sensors must provide a full template
114+ // / specialisation of this type that describes the new sensor.</para>
115+ // / <para>For convenience, implementors should inherit from
116+ // / <see cref="detail::sensor_desc_base" /> to provide the type of the
117+ // / sensor and the test for the type name automatically.</para>
118+ // / </remarks>
112119 // / <typeparam name="TSensor">The type of the sensor described by the
113120 // / template instance.</typeparam>
114121 template <class TSensor > struct sensor_desc final { };
You can’t perform that action at this time.
0 commit comments