|
CPN
Computational Process Networks
|
#include <MirrorBufferSet.h>
Collaboration diagram for MirrorBufferSet:Public Types | |
| enum | { eNotSupported =0, eSupportedPosixShm, eSupportedTmpFile } |
| typedef unsigned long | ulong |
Public Member Functions | |
| MirrorBufferSet (ulong bufferSz, ulong mirrorSz, int nBuffers=1) | |
| ~MirrorBufferSet (void) | |
| ulong | BufferSize (void) const |
| ulong | MirrorSize (void) const |
| ulong | NumBuffers (void) const |
| operator void * (void) const | |
Static Public Member Functions | |
| static int | Supported (void) |
| static ulong | PageSize (void) |
Protected Member Functions | |
| int | GetFileDescriptor (void) |
Protected Attributes | |
| void * | bufferBase |
| ulong | bufferSize |
| ulong | mirrorSize |
| int | numBuffers |
| char | fileName [112] |
Definition at line 27 of file MirrorBufferSet.h.
| typedef unsigned long MirrorBufferSet::ulong |
Definition at line 29 of file MirrorBufferSet.h.
| anonymous enum |
| Enumerator | |
|---|---|
| eNotSupported | |
| eSupportedPosixShm | |
| eSupportedTmpFile | |
Definition at line 38 of file MirrorBufferSet.h.
Definition at line 140 of file MirrorBufferSet.cc.
References bufferBase, bufferSize, fileName, fprintf1, fprintf2, GetFileDescriptor(), MAP_FAILED, MAP_NORESERVE, mirrorSize, numBuffers, PageSize(), and StrError().
Here is the call graph for this function:| MirrorBufferSet::~MirrorBufferSet | ( | void | ) |
Definition at line 290 of file MirrorBufferSet.cc.
References bufferBase, bufferSize, fileName, fprintf2, mirrorSize, and numBuffers.
|
inline |
Definition at line 34 of file MirrorBufferSet.h.
References bufferSize.
Referenced by ThresholdQueueBase::AllocateBuf().
Here is the caller graph for this function:
|
protected |
Definition at line 244 of file MirrorBufferSet.cc.
References fileName, and fprintf2.
Referenced by MirrorBufferSet().
Here is the caller graph for this function:
|
inline |
Definition at line 35 of file MirrorBufferSet.h.
References mirrorSize.
Referenced by ThresholdQueueBase::AllocateBuf().
Here is the caller graph for this function:
|
inline |
|
inline |
|
static |
Definition at line 307 of file MirrorBufferSet.cc.
Referenced by MirrorBufferSet(), and ThresholdQueueBase::ThresholdQueueBase().
Here is the caller graph for this function:
|
static |
Definition at line 27 of file MirrorBufferSet.cc.
References eNotSupported, eSupportedPosixShm, and eSupportedTmpFile.
Referenced by ThresholdQueueBase::AllocateBuf().
Here is the caller graph for this function:
|
protected |
Definition at line 48 of file MirrorBufferSet.h.
Referenced by MirrorBufferSet(), operator void *(), and ~MirrorBufferSet().
|
protected |
Definition at line 49 of file MirrorBufferSet.h.
Referenced by BufferSize(), MirrorBufferSet(), and ~MirrorBufferSet().
|
protected |
Definition at line 52 of file MirrorBufferSet.h.
Referenced by GetFileDescriptor(), MirrorBufferSet(), and ~MirrorBufferSet().
|
protected |
Definition at line 50 of file MirrorBufferSet.h.
Referenced by MirrorBufferSet(), MirrorSize(), and ~MirrorBufferSet().
|
protected |
Definition at line 51 of file MirrorBufferSet.h.
Referenced by MirrorBufferSet(), NumBuffers(), and ~MirrorBufferSet().
1.8.5