A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCPSGL__Blob__Processor.html below:

NCBI C++ ToolKit: CPSGL_Blob_Processor Class Reference

Search Toolkit Book for CPSGL_Blob_Processor

#include <objtools/data_loaders/genbank/impl/psg_blob_processor.hpp>

  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 const char *  GetProcessorName () const   virtual ostream &  PrintProcessorDescr (ostream &out) const   virtual ostream &  PrintProcessorArgs (ostream &out) const   SProcessorDescrPrinter  Descr () const   virtual EProcessResult  ProcessReplyFast (EPSG_Status status, const shared_ptr< CPSG_Reply > &reply)   virtual EProcessResult  ProcessReplySlow (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...
  CObjectoperator= (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   EProcessResult  ProcessTSE_Lock (const string &blob_id, CTSE_Lock &tse_lock, EWaitForLock wait_for_lock=eNoWaitForLock)   STSESlotGetTSESlot (const string &blob_id)   STSESlotSetTSESlot (const string &blob_id)   STSESlotGetTSESlot (const CPSG_BlobId &blob_id)   STSESlotSetTSESlot (const CPSG_BlobId &blob_id)   SSplitSlotGetSplitSlot (const string &id2_info)   SSplitSlotSetSplitSlot (const string &id2_info)   SBlobSlotGetChunkSlot (const string &id2_info, TChunkId chunk_id)   SBlobSlotSetChunkSlot (const string &id2_info, TChunkId chunk_id)   SBlobSlotGetChunkSlot (const CPSG_ChunkId &chunk_id)   SBlobSlotSetChunkSlot (const CPSG_ChunkId &chunk_id)   SBlobSlotGetBlobSlot (const CPSG_BlobId *blob_id, const CPSG_ChunkId *chunk_id)   SBlobSlotSetBlobSlot (const CPSG_BlobId *blob_id, const CPSG_ChunkId *chunk_id)   unique_ptr< CDeadlineGetWaitDeadline (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< CPsgBlobIdGetDLBlobId (STSESlot *tse_slot)   virtual CConstRef< CPsgBlobIdCreateDLBlobId (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...
 

Definition at line 67 of file psg_blob_processor.hpp.

◆ TChunkId ◆ TSplitBlobMap ◆ TTSEBlobMap ◆ EWaitForLock ◆ CPSGL_Blob_Processor() ◆ ~CPSGL_Blob_Processor() ◆ AssignChunks()

Definition at line 909 of file psg_blob_processor.cpp.

References _ASSERT, CPSGL_Processor::eProcessed, AutoPtr< X, Del >::get(), CTSE_Split_Info::GetChunk(), CTSE_Chunk_Info::GetLoadInitGuard(), CTSE_Info::GetSplitInfo(), CTSE_Info::HasSplitInfo(), CSplitParser::Load(), m_BlobProcessorMutex, CPSGL_Blob_Processor::STSESlot::m_SplitSlot, CPSGL_Blob_Processor::STSESlot::m_TSE_Lock, and CTSE_Chunk_Info::SetLoaded().

Referenced by ProcessTSE_Lock(), and TSE_ToOM().

◆ Chunk_ToOM()

Definition at line 859 of file psg_blob_processor.cpp.

References _ASSERT, CPSGL_Processor::eProcessed, CTSE_Split_Info::GetChunk(), CPSG_ChunkId::GetId2Chunk(), CTSE_Chunk_Info::GetLoadInitGuard(), CTSE_Info::GetSplitInfo(), CTSE_Info::HasSplitInfo(), CTSE_Chunk_Info::IsLoaded(), kSplitInfoChunkId, CSplitParser::Load(), CPSGL_Blob_Processor::SBlobSlot::m_BlobObject, m_BlobProcessorMutex, CPSGL_Blob_Processor::SChunkSlot::m_LockedChunkInfo, CPSGL_Blob_Processor::SChunkSlot::m_SplitSlot, CTSE_Chunk_Info::SetLoaded(), and swap().

Referenced by PostProcessBlob().

◆ CreateDLBlobId() ◆ GetBlobInfoState() int CPSGL_Blob_Processor::GetBlobInfoState ( const stringpsg_blob_id ) ◆ GetBlobSlot() ◆ GetChunkSlot() [1/2] ◆ GetChunkSlot() [2/2] ◆ GetDLBlobId() ◆ GetNextLoadedChunk() ◆ GetSkippedType() ◆ GetSplitSlot() ◆ GetTSESlot() [1/2] ◆ GetTSESlot() [2/2] ◆ GetWaitDeadline() ◆ GotForbidden() bool CPSGL_Blob_Processor::GotForbidden ( ) const inline ◆ GotUnauthorized() bool CPSGL_Blob_Processor::GotUnauthorized ( ) const inline ◆ HasChunksToAssign() ◆ ObtainSkippedTSE_Lock()

Definition at line 998 of file psg_blob_processor.cpp.

References _ASSERT, CPSGL_Processor::eFailed, CPSGL_Processor::eProcessed, CPSGL_Processor::eToNextStage, GetDLBlobId(), CDataSource::GetLoadedTSE_Lock(), CDataSource::GetTSE_LoadLockIfLoaded(), HasChunksToAssign(), Info(), CTSE_LoadLock::IsLoaded(), LOG_POST, m_DataSource, CPSGL_Blob_Processor::STSESlot::m_Skipped, CPSGL_Blob_Processor::STSESlot::m_SkippedWaitDeadline, CPSGL_Blob_Processor::STSESlot::m_TSE_Lock, and s_GetDebugLevel().

Referenced by PostProcessSkippedBlob(), ProcessItemFast(), and ProcessTSE_Lock().

◆ ParseChunk()

Definition at line 660 of file psg_blob_processor.cpp.

References _ASSERT, _TRACE, CPSGL_Processor::Descr(), GetBlobDataStream(), CPSG_ChunkId::GetId2Chunk(), CPSG_ChunkId::GetId2Info(), in(), kSplitInfoChunkId, LOG_POST, CPSGL_Blob_Processor::SBlobSlot::m_BlobData, CPSGL_Blob_Processor::SBlobSlot::m_BlobInfo, CPSGL_Blob_Processor::SBlobSlot::m_BlobObject, and m_BlobProcessorMutex.

Referenced by PostProcessBlob().

◆ ParseId() ◆ ParseSplitInfo()

Definition at line 625 of file psg_blob_processor.cpp.

References _ASSERT, _TRACE, CPSGL_Processor::Descr(), GetBlobDataStream(), CPSG_ChunkId::GetId2Chunk(), CPSG_ChunkId::GetId2Info(), in(), kSplitInfoChunkId, LOG_POST, CPSGL_Blob_Processor::SBlobSlot::m_BlobData, CPSGL_Blob_Processor::SBlobSlot::m_BlobInfo, CPSGL_Blob_Processor::SBlobSlot::m_BlobObject, and m_BlobProcessorMutex.

Referenced by PostProcessBlob().

◆ ParseTSE()

Definition at line 590 of file psg_blob_processor.cpp.

References _ASSERT, _TRACE, CPSGL_Processor::Descr(), GetBlobDataStream(), CPSG_BlobId::GetId(), in(), LOG_POST, CPSGL_Blob_Processor::SBlobSlot::m_BlobData, CPSGL_Blob_Processor::SBlobSlot::m_BlobInfo, CPSGL_Blob_Processor::SBlobSlot::m_BlobObject, and m_BlobProcessorMutex.

Referenced by PostProcessBlob().

◆ PostProcess() ◆ PostProcessBlob()

Definition at line 551 of file psg_blob_processor.cpp.

References _ASSERT, _TRACE, Chunk_ToOM(), CPSGL_Processor::Descr(), GetBlobSlot(), CPSGL_Blob_Processor::SBlobSlot::IsReadyToDeserialize(), kSplitInfoChunkId, CPSGL_Blob_Processor::SBlobSlot::m_BlobObject, m_BlobProcessorMutex, ParseChunk(), ParseId(), ParseSplitInfo(), ParseTSE(), CPSG_DataId::Repr(), ToString(), TSE_ToOM(), and CPSGL_Processor::x_Failed().

Referenced by ProcessItemSlow().

◆ PostProcessSkippedBlob() ◆ PreProcess() ◆ ProcessItemFast()

Reimplemented from CPSGL_Processor.

Reimplemented in CPSGL_LocalCDDBlob_Processor, CPSGL_NA_Processor, and CPSGL_Get_Processor.

Definition at line 393 of file psg_blob_processor.cpp.

References _ASSERT, _TRACE, CPSGCache_Base< TK, TV >::Add(), data, CPSGL_Processor::Descr(), CPSG_ReplyItem::eBlobData, CPSG_ReplyItem::eBlobInfo, eForbidden, CPSGL_Processor::eProcessed, CPSG_ReplyItem::eProcessor, CPSG_ReplyItem::eSkippedBlob, eSuccess, CPSGL_Processor::eToNextStage, CPSG_Processor::eUnauthorized, GetDLBlobId(), GetWaitDeadline(), CPSGL_Blob_Processor::SBlobSlot::IsReadyToDeserialize(), kSplitInfoChunkId, CPSGL_Blob_Processor::SBlobSlot::m_BlobInfo, CPSGCaches::m_BlobInfoCache, CPSGL_Blob_Processor::SBlobSlot::m_BlobInfoStatus, m_BlobProcessorMutex, m_Caches, m_GotForbidden, m_GotUnauthorized, msg(), ObtainSkippedTSE_Lock(), ParseId(), SetBlobSlot(), SetChunkSlot(), SetSplitSlot(), and SetTSESlot().

Referenced by CPSGL_Get_Processor::ProcessItemFast(), CPSGL_NA_Processor::ProcessItemFast(), and CPSGL_LocalCDDBlob_Processor::ProcessItemFast().

◆ ProcessItemSlow() ◆ ProcessTSE_Lock()

Definition at line 1089 of file psg_blob_processor.cpp.

References _ASSERT, _TRACE, AssignChunks(), CPSGL_Processor::Descr(), CPSGL_Processor::eFailed, CPSGL_Processor::eProcessed, CPSGL_Processor::eToNextStage, CTSE_Lock::GetPointerOrNull(), GetTSESlot(), ObtainSkippedTSE_Lock(), r(), and CPSGL_Processor::x_Failed().

Referenced by CPSGL_LocalCDDBlob_Processor::ProcessItemFast(), CPSGL_NA_Processor::ProcessItemSlow(), CPSGL_Get_Processor::ProcessReplyFinal(), CPSGL_GetBlob_Processor::ProcessReplyFinal(), CPSGL_NA_Processor::ProcessReplyFinal(), CPSGL_Get_Processor::ProcessReplySlow(), CPSGL_GetBlob_Processor::ProcessReplySlow(), CPSGL_NA_Processor::ProcessReplySlow(), and CPSGL_LocalCDDBlob_Processor::ProcessReplySlow().

◆ SetBlobSlot() ◆ SetChunkSlot() [1/2] ◆ SetChunkSlot() [2/2] ◆ SetDLBlobId() ◆ SetLockedChunkInfo() void CPSGL_Blob_Processor::SetLockedChunkInfo ( CTSE_Chunk_Infolocked_chunk_info ) ◆ SetLockedDelayedChunkInfo() ◆ SetSplitSlot() ◆ SetTSESlot() [1/2] ◆ SetTSESlot() [2/2] ◆ TSE_ToOM()

Definition at line 696 of file psg_blob_processor.cpp.

References _ASSERT, _TRACE, CWGSMasterSupport::AddWGSMaster(), AssignChunks(), CSplitParser::Attach(), CPSGL_Processor::Descr(), CPSGL_Processor::eProcessed, AutoPtr< X, Del >::get(), CTSE_Info::GetBlobId(), CTSE_Split_Info::GetChunk(), GetDLBlobId(), CPSGDataLoader_Impl::GetGetBlobByIdShouldFail(), CPSG_BlobId::GetId(), CPSG_ChunkId::GetId2Chunk(), CPsgBlobId::GetId2Info(), CPSG_ChunkId::GetId2Info(), CTSE_Chunk_Info::GetLoadInitGuard(), CRef< C, Locker >::GetPointerOrNull(), CTSE_Info::GetSplitInfo(), CDataSource::GetTSE_LoadLock(), CPsgBlobId::HasBioseqIsDead(), Info(), CTSE_Chunk_Info::IsLoaded(), CTSE_LoadLock::IsLoaded(), kDelayedMain_ChunkId, kSplitInfoChunkId, LOG_POST, m_AddWGSMasterDescr, CPSGL_Blob_Processor::SBlobSlot::m_BlobInfo, CPSGL_Blob_Processor::SBlobSlot::m_BlobObject, m_BlobProcessorMutex, m_DataSource, CPSGL_Blob_Processor::SSplitSlot::m_Id2Info, CPSGL_Blob_Processor::STSESlot::m_LockedDelayedChunkInfo, CPSGL_Blob_Processor::STSESlot::m_PsgBlobInfo, CPSGL_Blob_Processor::STSESlot::m_SplitSlot, CPSGL_Blob_Processor::STSESlot::m_TSE_Lock, CPSGL_Blob_Processor::SSplitSlot::m_TSESlot, MSerial_AsnText, AutoPtr< X, Del >::reset(), CRef< C, Locker >::Reset(), s_GetDebugLevel(), CTSE_Info::SetBlobState(), CTSE_Info::SetBlobVersion(), CTSE_Chunk_Info::SetLoaded(), CTSE_LoadLock::SetLoaded(), CTSE_Info::SetSeq_entry(), CPsgBlobId::ToString(), UpdateOMBlobId(), CPSGL_Processor::x_Failed(), and CTSE_Info::x_NeedsDelayedMainChunk().

Referenced by PostProcessBlob().

◆ kSplitInfoChunkId const TChunkId CPSGL_Blob_Processor::kSplitInfoChunkId = 999999999 static ◆ m_AddWGSMasterDescr bool CPSGL_Blob_Processor::m_AddWGSMasterDescr protected ◆ m_BlobProcessorMutex CFastMutex CPSGL_Blob_Processor::m_BlobProcessorMutex protected

Definition at line 173 of file psg_blob_processor.hpp.

Referenced by AssignChunks(), Chunk_ToOM(), ParseChunk(), ParseSplitInfo(), ParseTSE(), PostProcessBlob(), PostProcessSkippedBlob(), ProcessItemFast(), SetDLBlobId(), SetLockedChunkInfo(), SetLockedDelayedChunkInfo(), and TSE_ToOM().

◆ m_Caches ◆ m_DataSource ◆ m_GotForbidden bool CPSGL_Blob_Processor::m_GotForbidden = false protected ◆ m_GotUnauthorized bool CPSGL_Blob_Processor::m_GotUnauthorized = false protected ◆ m_SplitBlobMap ◆ m_TSEBlobMap

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