GNU Radio 3.5.1 C++ API
gr_vmcircbuf_sysv_shm_factory Class Reference

concrete factory for circular buffers built using mmap and shm_open More...

#include <gr_vmcircbuf_sysv_shm.h>

Inheritance diagram for gr_vmcircbuf_sysv_shm_factory:

List of all members.

Public Member Functions

virtual const char * name () const
 return name of this factory
virtual int granularity ()
 return granularity of mapping, typically equal to page size
virtual gr_vmcircbufmake (int size)
 return a gr_vmcircbuf, or 0 if unable.

Static Public Member Functions

static gr_vmcircbuf_factorysingleton ()

Detailed Description

concrete factory for circular buffers built using mmap and shm_open


Member Function Documentation

virtual int gr_vmcircbuf_sysv_shm_factory::granularity ( ) [virtual]

return granularity of mapping, typically equal to page size

Implements gr_vmcircbuf_factory.

virtual gr_vmcircbuf* gr_vmcircbuf_sysv_shm_factory::make ( int  size) [virtual]

return a gr_vmcircbuf, or 0 if unable.

Call this to create a doubly mapped circular buffer.

Implements gr_vmcircbuf_factory.

virtual const char* gr_vmcircbuf_sysv_shm_factory::name ( ) const [inline, virtual]

return name of this factory

Implements gr_vmcircbuf_factory.

static gr_vmcircbuf_factory* gr_vmcircbuf_sysv_shm_factory::singleton ( ) [static]

The documentation for this class was generated from the following file: