#include <gr_vmcircbuf.h>
Inheritance diagram for gr_vmcircbuf_factory:
Public Member Functions | |
virtual const char * | name () const =0 |
return name of this factory | |
virtual int | granularity ()=0 |
return granularity of mapping, typically equal to page size | |
virtual gr_vmcircbuf * | make (int size)=0 |
return a gr_vmcircbuf, or 0 if unable. | |
Protected Member Functions | |
gr_vmcircbuf_factory () | |
virtual | ~gr_vmcircbuf_factory () |
|
|
|
|
|
return granularity of mapping, typically equal to page size
Implemented in gr_vmcircbuf_createfilemapping_factory, gr_vmcircbuf_mmap_shm_open_factory, gr_vmcircbuf_mmap_tmpfile_factory, and gr_vmcircbuf_sysv_shm_factory. |
|
return a gr_vmcircbuf, or 0 if unable. Call this to create a doubly mapped circular buffer. Implemented in gr_vmcircbuf_createfilemapping_factory, gr_vmcircbuf_mmap_shm_open_factory, gr_vmcircbuf_mmap_tmpfile_factory, and gr_vmcircbuf_sysv_shm_factory. |
|
return name of this factory
Implemented in gr_vmcircbuf_createfilemapping_factory, gr_vmcircbuf_mmap_shm_open_factory, gr_vmcircbuf_mmap_tmpfile_factory, and gr_vmcircbuf_sysv_shm_factory. |