Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCPSGL__GetChunk__Processor.html below:
NCBI C++ ToolKit: CPSGL_GetChunk_Processor Class Reference
Search Toolkit Book for CPSGL_GetChunk_Processor
#include <objtools/data_loaders/genbank/impl/psg_processors.hpp>
CPSGL_GetChunk_Processor (CTSE_Chunk_Info &chunk, CDataSource *data_source, CPSGCaches *caches=nullptr, bool add_wgs_master=false) ~CPSGL_GetChunk_Processor () override const char * GetProcessorName () const override ostream & PrintProcessorArgs (ostream &out) const override ostream & PrintChunk (ostream &out, CTSE_Chunk_Info &chunk) const void AddChunk (CTSE_Chunk_Info &chunk) EProcessResult ProcessReplySlow (EPSG_Status status, const shared_ptr< CPSG_Reply > &reply) override CPSGL_Blob_Processor (CDataSource *data_source, CPSGCaches *caches=nullptr, bool add_wgs_master=false) ~CPSGL_Blob_Processor () override EProcessResult ProcessItemFast (EPSG_Status status, const shared_ptr< CPSG_ReplyItem > &item) override EProcessResult ProcessItemSlow (EPSG_Status status, const shared_ptr< CPSG_ReplyItem > &item) override void SetLockedDelayedChunkInfo (const string &psg_blob_id, CTSE_Chunk_Info &locked_chunk_info) void SetLockedChunkInfo (CTSE_Chunk_Info &locked_chunk_info) pair< CTSE_Chunk_Info *, CRef< CID2S_Chunk > > GetNextLoadedChunk () bool GotForbidden () const bool GotUnauthorized () const int GetBlobInfoState (const string &psg_blob_id) CPSGL_Processor () virtual ~CPSGL_Processor () virtual ostream & PrintProcessorDescr (ostream &out) const SProcessorDescrPrinter Descr () const virtual EProcessResult ProcessReplyFast (EPSG_Status status, const shared_ptr< CPSG_Reply > &reply) virtual EProcessResult ProcessReplyFinal () const vector< string > & GetErrors () const void AddError (const string &message) CObject (void) Constructor. More...
CObject (const CObject &src) Copy constructor. More...
virtual ~CObject (void) Destructor. More...
CObject & operator= (const CObject &src) THROWS_NONE Assignment operator. More...
bool CanBeDeleted (void) const THROWS_NONE Check if object can be deleted. More...
bool IsAllocatedInPool (void) const THROWS_NONE Check if object is allocated in memory pool (not system heap) More...
bool Referenced (void) const THROWS_NONE Check if object is referenced. More...
bool ReferencedOnlyOnce (void) const THROWS_NONE Check if object is referenced only once. More...
void AddReference (void) const Add reference to object. More...
void RemoveReference (void) const Remove reference to object. More...
void ReleaseReference (void) const Remove reference without deleting object. More...
virtual void DoNotDeleteThisObject (void) Mark this object as not allocated in heap – do not delete this object. More...
virtual void DoDeleteThisObject (void) Mark this object as allocated in heap – object can be deleted. More...
void * operator new (size_t size) Define new operator for memory allocation. More...
void * operator new[] (size_t size) Define new[] operator for 'array' memory allocation. More...
void operator delete (void *ptr) Define delete operator for memory deallocation. More...
void operator delete[] (void *ptr) Define delete[] operator for memory deallocation. More...
void * operator new (size_t size, void *place) Define new operator. More...
void operator delete (void *ptr, void *place) Define delete operator. More...
void * operator new (size_t size, CObjectMemoryPool *place) Define new operator using memory pool. More...
void operator delete (void *ptr, CObjectMemoryPool *place) Define delete operator. More...
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const Define method for dumping debug information. More...
CDebugDumpable (void) virtual ~CDebugDumpable (void) void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const void DumpToConsole (void) const typedef int TChunkId enum EProcessResult { eProcessed , eFailed , eToNextStage } enum EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } Control filling of newly allocated memory. More...
typedef CObjectCounterLocker TLockerType Default locker type for CRef. More...
typedef atomic< Uint8 > TCounter Counter type is CAtomiCounter. More...
typedef Uint8 TCount Alias for value type of counter. More...
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (void) Define method to throw null pointer exception. More...
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (const type_info &type) static EAllocFillMode GetAllocFillMode (void) static void SetAllocFillMode (EAllocFillMode mode) static void SetAllocFillMode (const string &value) Set mode from configuration parameter value. More...
static void EnableDebugDump (bool on) static const TChunkId kSplitInfoChunkId = 999999999 static const TCount eCounterBitsCanBeDeleted = 1 << 0 Define possible object states. More...
static const TCount eCounterBitsInPlainHeap = 1 << 1 Heap signature was found. More...
static const TCount eCounterBitsPlaceMask Mask for 'in heap' state flags. More...
static const int eCounterStep = 1 << 2 Skip over the "in heap" bits. More...
static const TCount eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) Minimal value for valid objects (reference counter is zero) Must be a single bit value. More...
static const TCount eCounterStateMask Valid object, and object in heap. More...
enum EWaitForLock { eNoWaitForLock , eWaitForLock } typedef map< string, STSESlot > TTSEBlobMap typedef map< string, SSplitSlot > TSplitBlobMap EProcessResult ProcessTSE_Lock (const string &blob_id, CTSE_Lock &tse_lock, EWaitForLock wait_for_lock=eNoWaitForLock) STSESlot * GetTSESlot (const string &blob_id) STSESlot * SetTSESlot (const string &blob_id) STSESlot * GetTSESlot (const CPSG_BlobId &blob_id) STSESlot * SetTSESlot (const CPSG_BlobId &blob_id) SSplitSlot * GetSplitSlot (const string &id2_info) SSplitSlot * SetSplitSlot (const string &id2_info) SBlobSlot * GetChunkSlot (const string &id2_info, TChunkId chunk_id) SBlobSlot * SetChunkSlot (const string &id2_info, TChunkId chunk_id) SBlobSlot * GetChunkSlot (const CPSG_ChunkId &chunk_id) SBlobSlot * SetChunkSlot (const CPSG_ChunkId &chunk_id) SBlobSlot * GetBlobSlot (const CPSG_BlobId *blob_id, const CPSG_ChunkId *chunk_id) SBlobSlot * SetBlobSlot (const CPSG_BlobId *blob_id, const CPSG_ChunkId *chunk_id) unique_ptr< CDeadline > GetWaitDeadline (const CPSG_SkippedBlob &skipped) const EProcessResult PreProcess (EPSG_Status status, const shared_ptr< CPSG_ReplyItem > &item) EProcessResult PostProcess (EPSG_Status status, const shared_ptr< CPSG_ReplyItem > &item) EProcessResult PostProcessBlob (const CPSG_DataId *id) EProcessResult PostProcessSkippedBlob (const CPSG_DataId *id) bool ParseTSE (const CPSG_BlobId *blob_id, SBlobSlot *data_slot) bool ParseSplitInfo (const CPSG_ChunkId *split_info_id, SBlobSlot *data_slot) bool ParseChunk (const CPSG_ChunkId *chunk_id, SBlobSlot *data_slot) EProcessResult TSE_ToOM (const CPSG_BlobId *blob_id, const CPSG_ChunkId *split_info_id, SBlobSlot *data_slot) EProcessResult Chunk_ToOM (const CPSG_ChunkId *chunk_id, SChunkSlot *chunk_slot) bool HasChunksToAssign (const CTSE_Lock &tse) EProcessResult AssignChunks (STSESlot *tse_slot) void SetDLBlobId (const string &psg_blob_id, const CConstRef< CPsgBlobId > &dl_blob_id) CConstRef< CPsgBlobId > GetDLBlobId (STSESlot *tse_slot) virtual CConstRef< CPsgBlobId > CreateDLBlobId (STSESlot *tse_slot) EProcessResult ObtainSkippedTSE_Lock (STSESlot *slot, EWaitForLock wait_for_lock=eNoWaitForLock) EProcessResult x_Failed (const string &message) virtual void DeleteThis (void) Virtual method "deleting" this object. More...
static tuple< const CPSG_BlobId *, const CPSG_ChunkId * > ParseId (const CPSG_DataId *id) static const char * GetSkippedType (const CPSG_SkippedBlob &skipped) static string x_Format (EPSG_Status status) static string x_Format (EPSG_Status status, const shared_ptr< CPSG_Reply > &reply) static string x_FormatAndSetError (EPSG_Status &status) static string x_FormatAndSetError (EPSG_Status &status, const shared_ptr< CPSG_Reply > &reply) CFastMutex m_BlobProcessorMutex TTSEBlobMap m_TSEBlobMap TSplitBlobMap m_SplitBlobMap bool m_GotForbidden = false bool m_GotUnauthorized = false bool m_AddWGSMasterDescr CDataSource * m_DataSource CPSGCaches * m_Caches vector< string > m_Errors
Definition at line 475 of file psg_processors.hpp.
◆ CPSGL_GetChunk_Processor() ◆ ~CPSGL_GetChunk_Processor() CPSGL_GetChunk_Processor::~CPSGL_GetChunk_Processor ( ) override
Definition at line 968 of file psg_processors.cpp.
◆ AddChunk() ◆ GetProcessorName() const char * CPSGL_GetChunk_Processor::GetProcessorName ( ) const overridevirtual ◆ PrintChunk() ostream & CPSGL_GetChunk_Processor::PrintChunk ( ostream & out, CTSE_Chunk_Info & chunk ) const ◆ PrintProcessorArgs() ostream & CPSGL_GetChunk_Processor::PrintProcessorArgs ( ostream & out ) const overridevirtual ◆ ProcessReplySlow() ◆ m_Chunks
The documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4