Skip to content

Commit f34f4a3

Browse files
authored
Merge pull request #13 from UniStuttgart-VISUS/reflect
Reflect
2 parents 1b5d38a + c9aedc1 commit f34f4a3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

power_overwhelming/src/collector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
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

power_overwhelming/src/sensor_desc.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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 { };

0 commit comments

Comments
 (0)