OpendTect  6.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Network::WriteCache Class Reference
Inheritance diagram for Network::WriteCache:
[legend]

Public Member Functions

 WriteCache ()
 
 ~WriteCache ()
 
virtual void clearData ()
 
virtual void setMinCacheSize (FileSizeType)
 
- Public Member Functions inherited from Network::FileCache
virtual ~FileCache ()
 
FileSizeType size () const
 
bool isEmpty () const
 
BlockIdxType blockIdx (FilePosType) const
 
BlockSizeType blockSize (BlockIdxType) const
 
bool validBlockIdx (BlockIdxType bidx) const
 
bool isLiveBlock (BlockIdxType) const
 
BufTypegetBlock (BlockIdxType)
 
const BufTypegetBlock (BlockIdxType) const
 

Protected Member Functions

virtual void handleNewLiveBlock (BlockIdxType)
 
- Protected Member Functions inherited from Network::FileCache
 FileCache (FileSizeType)
 
BlockgtBlk (BlockIdxType) const
 
void dismissBlock (BlockIdxType)
 
void clearBlocks ()
 
FilePosType lastBlockPos () const
 
FilePosType lastFilePos () const
 

Protected Attributes

BlockIdxType nrblocksmem_
 
- Protected Attributes inherited from Network::FileCache
ObjectSet< Blockblocks_
 
const BlockSizeType lastblocksz_
 
const FileSizeType knownfilesize_
 

Additional Inherited Members

- Public Types inherited from Network::FileCache
typedef unsigned char BufType
 
typedef int ChunkSizeType
 
typedef od_stream_Count FileSizeType
 
typedef od_stream_Pos FilePosType
 
typedef Interval< FilePosTypeFileChunkType
 
typedef TypeSet< FileChunkTypeFileChunkSetType
 
typedef ObjectSet< Block >::size_type BlockIdxType
 
typedef Block::SizeType BlockSizeType
 
- Static Public Member Functions inherited from Network::FileCache
static FilePosType blockStart (BlockIdxType)
 

Detailed Description

Constructor & Destructor Documentation

Network::WriteCache::WriteCache ( )
Network::WriteCache::~WriteCache ( )

Member Function Documentation

virtual void Network::WriteCache::clearData ( )
virtual

Implements Network::FileCache.

virtual void Network::WriteCache::handleNewLiveBlock ( BlockIdxType  )
protectedvirtual

Reimplemented from Network::FileCache.

virtual void Network::WriteCache::setMinCacheSize ( FileSizeType  )
virtual

Implements Network::FileCache.

Member Data Documentation

BlockIdxType Network::WriteCache::nrblocksmem_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017