GNU Radio 2.x: gr_vmcircbuf_mmap_shm_open_factory Class Reference

Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

# gr_vmcircbuf_mmap_shm_open_factory Class Reference

`#include <gr_vmcircbuf_mmap_shm_open.h>`

Inheritance diagram for gr_vmcircbuf_mmap_shm_open_factory:

[legend]
Collaboration diagram for gr_vmcircbuf_mmap_shm_open_factory:

[legend]
List of all members.

## Detailed Description

concrete factory for circular buffers built using mmap and shm_open

## 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 ()

## Member Function Documentation

int gr_vmcircbuf_mmap_shm_open_factory::granularity | ( |  | ) | `[virtual]`

| return granularity of mapping, typically equal to page size Implements gr_vmcircbuf_factory.

gr_vmcircbuf * gr_vmcircbuf_mmap_shm_open_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_mmap_shm_open_factory::name | ( |  | ) | const`[inline, virtual]`

| return name of this factory Implements gr_vmcircbuf_factory.

gr_vmcircbuf_factory * gr_vmcircbuf_mmap_shm_open_factory::singleton | ( |  | ) | `[static]`

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

- gr_vmcircbuf_mmap_shm_open.h
- gr_vmcircbuf_mmap_shm_open.cc