#include <GrMC4020Source.h>
Inheritance diagram for GrMC4020Source< oType >:

Public Member Functions | |
| virtual const char * | name () |
| default name for a module (override with actual name) | |
| virtual float | memoryTouched () |
| virtual int | work2 (VrSampleRange output, void *o[]) |
| virtual void | initOutputBuffer (int n) |
| GrMC4020Source (double sample_freq=GRMC_DEFAULT_SAMPLE_FREQ, unsigned long a_bitmask=GRMC_DEFAULT_CONFIG_BITMASK) | |
Protected Member Functions | |
| unsigned long | npages_to_free () |
| unsigned long | index_sub (unsigned long a, unsigned long b) |
Protected Attributes | |
| int | device_fd |
| unsigned long | config_bitmask |
| unsigned long | buffersize_pages |
| unsigned long | page_index |
| VrSampleIndex | sample_index |
| unsigned long | num_pages |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
Reimplemented from VrSigProc.
|
|
|||||||||
|
Returns the total number of bytes read (ignores written bytes) per second by the upstream chain ending with this module zero has a special meaning (no outputs in cache) Reimplemented from VrSigProc.
|
|
|||||||||
|
default name for a module (override with actual name)
Reimplemented from VrSource< oType >.
|
|
|||||||||
|
Determine how many pages at the beginning of the region that the driver has allocated to us we no longer need. The earliest VrSampleIndex in use is given by proc_minRP(). We use this and sample_index (the VrSampleIndex of the beginning of the active portion of the driver buffer) to see if we can return some pages to the driver. |
|
||||||||||||||||
|
Implements VrSource< oType >.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.8