GNU Radio 3.5.1 C++ API
|
concrete factory for circular buffers built using mmap and shm_open More...
#include <gr_vmcircbuf_createfilemapping.h>
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_vmcircbuf * | make (int size) |
return a gr_vmcircbuf, or 0 if unable. | |
Static Public Member Functions | |
static gr_vmcircbuf_factory * | singleton () |
concrete factory for circular buffers built using mmap and shm_open
virtual int gr_vmcircbuf_createfilemapping_factory::granularity | ( | ) | [virtual] |
return granularity of mapping, typically equal to page size
Implements gr_vmcircbuf_factory.
virtual gr_vmcircbuf* gr_vmcircbuf_createfilemapping_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_createfilemapping_factory::name | ( | ) | const [inline, virtual] |
return name of this factory
Implements gr_vmcircbuf_factory.
static gr_vmcircbuf_factory* gr_vmcircbuf_createfilemapping_factory::singleton | ( | ) | [static] |