summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/vmcircbuf_createfilemapping.h')
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_createfilemapping.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h b/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h
index 0513112f23..f289abcd96 100644
--- a/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h
+++ b/gnuradio-runtime/lib/vmcircbuf_createfilemapping.h
@@ -32,36 +32,36 @@
namespace gr {
- /*!
- * \brief concrete class to implement circular buffers with mmap and shm_open
- * \ingroup internal
- */
- class GR_RUNTIME_API vmcircbuf_createfilemapping : public gr::vmcircbuf
- {
- public:
+/*!
+ * \brief concrete class to implement circular buffers with mmap and shm_open
+ * \ingroup internal
+ */
+class GR_RUNTIME_API vmcircbuf_createfilemapping : public gr::vmcircbuf
+{
+public:
// CREATORS
vmcircbuf_createfilemapping(int size);
virtual ~vmcircbuf_createfilemapping();
#ifdef HAVE_CREATEFILEMAPPING
- private:
+private:
HANDLE d_handle;
LPVOID d_first_copy;
LPVOID d_second_copy;
#endif
- };
+};
- /*!
- * \brief concrete factory for circular buffers built using mmap and shm_open
- */
- class GR_RUNTIME_API vmcircbuf_createfilemapping_factory : public gr::vmcircbuf_factory
- {
- private:
- static gr::vmcircbuf_factory *s_the_factory;
+/*!
+ * \brief concrete factory for circular buffers built using mmap and shm_open
+ */
+class GR_RUNTIME_API vmcircbuf_createfilemapping_factory : public gr::vmcircbuf_factory
+{
+private:
+ static gr::vmcircbuf_factory* s_the_factory;
- public:
- static gr::vmcircbuf_factory *singleton();
+public:
+ static gr::vmcircbuf_factory* singleton();
- virtual const char *name() const { return "gr::vmcircbuf_createfilemapping_factory"; }
+ virtual const char* name() const { return "gr::vmcircbuf_createfilemapping_factory"; }
/*!
* \brief return granularity of mapping, typically equal to page size
@@ -73,8 +73,8 @@ namespace gr {
*
* Call this to create a doubly mapped circular buffer.
*/
- virtual gr::vmcircbuf *make(int size);
- };
+ virtual gr::vmcircbuf* make(int size);
+};
} /* namespace gr */