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:

Inheritance graph
[legend]
Collaboration diagram for gr_vmcircbuf_mmap_shm_open_factory:

Collaboration graph
[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_vmcircbufmake (int size)
 return a gr_vmcircbuf, or 0 if unable.

Static Public Member Functions

static gr_vmcircbuf_factorysingleton ()


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:
Generated on Sat Jul 8 17:14:52 2006 for GNU Radio 2.x by  doxygen 1.4.1