summaryrefslogtreecommitdiffstats
path: root/include/raul/DoubleBuffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/raul/DoubleBuffer.hpp')
-rw-r--r--include/raul/DoubleBuffer.hpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/include/raul/DoubleBuffer.hpp b/include/raul/DoubleBuffer.hpp
index 1693f25..ac5256d 100644
--- a/include/raul/DoubleBuffer.hpp
+++ b/include/raul/DoubleBuffer.hpp
@@ -21,16 +21,18 @@
namespace raul {
-/** Double buffer.
- *
- * Can be thought of as a wrapper class to make a non-atomic type atomically
- * settable (with no locking).
- *
- * Read/Write realtime safe, many writers safe - but set calls may fail.
- *
- * Space: 2*sizeof(T) + sizeof(int) + sizeof(void*)
- * \ingroup raul
- */
+/**
+ Double buffer.
+
+ Can be thought of as a wrapper class to make a non-atomic type atomically
+ settable (with no locking).
+
+ Read/Write realtime safe, many writers safe - but set calls may fail.
+
+ Space: 2*sizeof(T) + sizeof(int) + sizeof(void*)
+
+ @ingroup raul
+*/
template<typename T>
class DoubleBuffer
{